Raised This Month: $ Target: $400
 0% 

How to add current map name to the hud?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Naza1923
New Member
Join Date: Aug 2018
Old 08-05-2018 , 21:46   How to add current map name to the hud?
Reply With Quote #1

My HUD Looks like:

[My server name]


[my tag]
[hp]
[anti infection vest]
[zombie class]
[ammo packs]

And i want to show which map is the current one below ammo packs or anywhere.

hud code:

PHP Code:
{
    
    static 
name[33]
    
get_user_name(idname32)
    
        
//    Show    health,    class    and    ammo    packs    
        
set_hudmessage(red,    green,    blue,    0.02,    0.18,    0,    6.0,    1.1,    0.0,    0.0,    -1)
        
ShowSyncHudMsg(ID_SHOWHUD,    g_MsgSync2,    "[Zombie Plague]^n^n[Nombre: %s]^n[Vida: %d]^n[Chaleco: %d]^n[Clase: %s]^n[AmmoPacks: %d]"namepev(ID_SHOWHUDpev_health), get_user_armor(id), class, g_ammopacks[ID_SHOWHUD]) 
    } 
Naza1923 is offline
 



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 12:40.


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