so im making my own hud i have one problem and thats to make the text stay in the right hand corner i dont know how to do this i tried the “screenheight-x” x being a number but that didnt work also id like to change the font size although i could probably figure that out on my own anyways heres my code
// NPC made by phil (Admin)
if (playerenters) {
toweapons -staffhud;
timeout=.05;
}
if (timeout) {
showtext 300,30,30,arial,c,Jailer: #s(jailtext);
showtext 301,30,28,arial,c,StaffTag: #s(stafftagtext);
showtext 302,30,26,arial,c,Boots: #s(bootstext);
showtext 303,30,24,arial,c,Dragger: #s(dragtext);
showtext 304,30,22,arial,c,Gralat Spawner: #s(gralattext);
timeout=0.5;
}
It’s a wonder alexs code works, it’s terribly aweful. It breaks alot of the rules in terms of good programming
and is basically a massive copy paste job with a gui slapped over it.
I’m sure I created a fix for it somewhere though…