Moving set_hudmessage Text
I'm not too sure I fully understand this line of code, but im going to give it a shot...
I'm working with the seemingly abandoned plugin server_rules (http://forums.alliedmods.net/showthread.php?t=7703) and attempting to modify it to fit my needs...as well as to get a greater understand of how the text display system works. And herein I am stuck. I am understanding that the first three numbers in this line of code: Code:
set_hudmessage(255, 0, 0, -1.0, 0.01)I know that this line puts the text in the upper left hand corner. I want to bring the text down so that if a player joins the black bar from the spectator menu isnt blocking off the first 4-5 rules. Code:
set_hudmessage( DISPLAYCOLOR[0], DISPLAYCOLOR[1], DISPLAYCOLOR[2], 0.05, 0.05, 2, 0.01, nDisplayTime, 0.01, 0.1, 4 )Code:
set_hudmessage ( 200, 150, 0, 0.02, 0.25, 2, 0.1, get_cvar_float("rules_hudmessage_time"), 0.05, 1.0, 1)Edit: Well shit, im a moron...I didnt realize that there is a message text generator in the studio... I feel like a total dumbass. |
Re: Moving set_hudmessage Text
get a amxx studio, http://prdownloads.sourceforge.net/a...l.zip?download
inside there's a hud message generator. it has a picture. drag the text in that picture then see the coord x,y |
Re: Moving set_hudmessage Text
Yeah, i saw that as soon as I went back into the studio to figure that out..
Now I understand that the final 2 are x,y coordinates...which makes sense. |
| All times are GMT -4. The time now is 06:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.