- last updated : 14 feb 2011
Ever wanted to display message like the hints messages in CS or on HLTV?
It should work on all mods. It uses basically the same params as set_hudmessage. (except for channel)
As side-note, the size is bigger than normal hud message and it can't be changed.
│ Limitations
Max message length : 128 characters.
You can show only 8 messages at once.
│ Developer Notes
The tip were in hud_spectator.cpp (line 526) in the HLSDK (client).
│ Functions
The following functions mimic the style of set_hudmessage() and show_hudmessage().
Code: Select all
set_dhudmessage( red = 0, green = 160, blue = 0, Float:x = -1.0, Float:y = 0.65, effects = 2, Float:fxtime = 6.0, Float:holdtime = 3.0, Float:fadeintime = 0.1, Float:fadeouttime = 1.5, bool:reliable = false )
show_dhudmessage( index, const message[], any:... )