AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Random HUD msg (https://forums.alliedmods.net/showthread.php?t=128456)

SpeeDeeR 06-01-2010 10:44

Random HUD msg
 
How to do a hud msg that will have a random position on screen and random color.

Sylwester 06-01-2010 11:02

Re: Random HUD msg
 
PHP Code:

new random(256)
new 
random(256)
new 
random(256)
new 
Float:random_float(0.01.0)
new 
Float:random_float(0.01.0)
set_hudmessage(r,g,b,x,y)
show_hudmessage(id"msg"



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

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