Staff HUD

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;
}

You must place your text on layers 4 and up. To do this simply add this to your code

for (this.i=300;this.i<305;this.i++)changeimgvis this.i,4;

Just upload this to your server. Problem solved. :slight_smile:

http://forums.graal.in/forums/showthread.php?5011-The-ULTIMATE-Staff-HUD

[QUOTE=CrossFire;88849]
Just upload this to your server. Problem solved. :slight_smile:

http://forums.graal.in/forums/showthread.php?5011-The-ULTIMATE-Staff-HUD
[/QUOTE]

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…

lol. What happond to alex anyway?

he probably got a girlfriend

Still in Mordor

One does not simply walk out either.

Internet connection is horrible, too. Barely 2 bars.

I chased him away. 'Nough said.