PHP Code:
set_hudmessage(red, green, blue, Float:x=-1.0, Float:y=0.35, effects=0, Float:fxtime=6.0, Float:holdtime=12.0, Float:fadeintime=0.1, Float:fadeouttime=0.2, channel=4)
red - red color ( 0-255 )
green - green color (0-255 )
blue - blue color ( 0-255 )
x - horizontal hud position (horizontal axis)
y - vertical hud position (vertical axis)
For the hudmessage coordinates
x and
y, -1.0 will center the message
on the respective axis.
effects - (0:no effects 1:flashing 2:printing letter by letter)
fxtime - Duration of the effect
holdtime - Time the message stays on screen (Hud Msg Life)
fadeintitme - Time it takes the message to fully appear (fade-in)
fadeouttime - Time it takes the message to fully disappear (fade-out)
channel :
hud channel (there are 4 channels, if two hud messages were saved on the same channel and called in the same time,
then one message will overwrite the other.
if channel= -1, then the channel will be selected automatically according to priority