Raised This Month: $ Target: $400
 0% 

[Help] hud to dhud


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
black_heart
Senior Member
Join Date: May 2015
Old 08-23-2015 , 15:29   [Help] hud to dhud
Reply With Quote #1

how to make this code to dhud?

PHP Code:
    // Spectating someone else?
    
if (id != ID_SHOWHUD)
    {
        
// Show name, health, class, and ammo packs
        
set_hudmessage(255255255HUD_SPECT_XHUD_SPECT_Y06.01.10.00.0, -1)
        
show_hudmessage(ID_SHOWHUD,  "%L %s^nHP: %d - %L %s - %L %d"ID_SHOWHUD"SPECTATING"g_playername[id], pev(idpev_health), ID_SHOWHUD"CLASS_CLASS", class, ID_SHOWHUD"AMMO_PACKS1"g_ammopacks[id])
    }
    else
    {
        
// Show health, class and ammo packs
        
set_hudmessage(redgreenblue0.000.1806.01.10.00.0, -1)
        
show_hudmessage(ID_SHOWHUD"[%L: %d]^n[%L %s]^n[%L %d]"id"ZOMBIE_ATTRIB1"pev(ID_SHOWHUDpev_health), ID_SHOWHUD"CLASS_CLASS", class, ID_SHOWHUD"AMMO_PACKS1"g_ammopacks[ID_SHOWHUD])
    } 

Last edited by black_heart; 08-23-2015 at 15:48.
black_heart is offline
Send a message via Skype™ to black_heart
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:10.


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