AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Displaying text on user screen in specific way (https://forums.alliedmods.net/showthread.php?t=63901)

orglee 12-02-2007 16:09

Displaying text on user screen in specific way
 
Hello.
I'm working on a small counter display thing.
I would like to display some short message and number of seconds.
Unfortunately not only number blinks but also the text I'm displaying.
I would like to know how to determine exactly where I should place counter after the text.
Code:
set_hudmessage(0,255,0, // Color                     0.05, // Left Margin - X             -1.0, // Middle of the screen Y                0,             0.25,              1.0,              0.0,              0.0,                4)        show_hudmessage(id, message)
And after I will display that short message I would like to display counter but how can I determine appropriate space between counter and left side of the screen ? I want to do this only to prevent blinking of that short message.


All times are GMT -4. The time now is 11:05.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.