| TheBadBoy |
11-19-2011 14:28 |
[HELP] Hud Message [Status]
Hello, AM
I want This:
PHP Code:
player_hudmessage(id, 4, 2.0, {255, 0, 0}, "%L", LANG_SERVER,"JBE_GUARD_STATUS", name, health)
To be like this, but in this format:
PHP Code:
set_hudmessage(255, 0, 0, -1.0, -1.0, 2, 1.0, 3, 0.1, 0.1, 4) show_hudmessage(id, "%L", LANG_SERVER, "JBE_GUARD_STATUS", name, health)
--------------------
PHP Code:
stock player_hudmessage(id, hudid, Float:time = 0.0, color[3] = {0, 255, 0}, msg[], any:...) { static text[512], Float:x, Float:y x = g_HudSync[hudid][_x] y = g_HudSync[hudid][_y] if(time > 0) set_hudmessage(color[0], color[1], color[2], x, y, 0, 0.00, time, 0.00, 0.00) else set_hudmessage(color[0], color[1], color[2], x, y, 0, 0.00, g_HudSync[hudid][_time], 0.00, 0.00)
vformat(text, charsmax(text), msg, 6) ShowSyncHudMsg(id, g_HudSync[hudid][_hudsync], text) }
Thanks...
|