AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP] Hud Message [Status] (https://forums.alliedmods.net/showthread.php?t=172370)

TheBadBoy 11-19-2011 14:28

[HELP] Hud Message [Status]
 
Hello, AM


I want This:

PHP Code:

player_hudmessage(id42.0, {25500}, "%L"LANG_SERVER,"JBE_GUARD_STATUS"namehealth

To be like this, but in this format:

PHP Code:

set_hudmessage(25500, -1.0, -1.021.030.10.14)
show_hudmessage(id"%L"LANG_SERVER"JBE_GUARD_STATUS"namehealth

--------------------
PHP Code:

stock player_hudmessage(idhudidFloat:time 0.0color[3] = {02550}, msg[], any:...)
{
    static 
text[512], Float:xFloat:y
    x 
g_HudSync[hudid][_x]
    
g_HudSync[hudid][_y]
    
    if(
time 0)
        
set_hudmessage(color[0], color[1], color[2], xy00.00time0.000.00)
    else
        
set_hudmessage(color[0], color[1], color[2], xy00.00g_HudSync[hudid][_time], 0.000.00)

    
vformat(textcharsmax(text), msg6)
    
ShowSyncHudMsg(idg_HudSync[hudid][_hudsync], text)



Thanks...


All times are GMT -4. The time now is 08:26.

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