Raised This Month: $ Target: $400
 0% 

Error En HUD


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zoolk
New Member
Join Date: Jul 2013
Old 12-18-2013 , 13:43   Error En HUD
Reply With Quote #1

Hola a todos.
Lo que pasa es que puse un hud para que se vea la experiencia pero me da error al compilar alguien me podria ayudar


/ Spectating someone else?
if (id != ID_SHOWHUD)

{

// Show name, health, class, and ammo packs
set_hudmessage(255, 255, 255, HUD_SPECT_X, HUD_SPECT_Y, 0, 6.0, 1.1, 0.0, 0.0, -1)
ShowSyncHudMsg(ID_SHOWHUD, g_MsgSync2, "%L %s^nHP: %d - %L %s - %L %d", ID_SHOWHUD, "SPECTATING", g_playername[id], pev(id, pev_health), ID_SHOWHUD, "CLASS_CLASS", class, ID_SHOWHUD, "AMMO_PACKS1", g_ammopacks[id])

}
else
{
// Show health, class and ammo packs
set_hudmessage(255, 255, 0, 0.01.0, 0, 6.0, 1.1, 0.0, 0.0, -1)
ShowSyncHudMsg(ID_SHOWHUD, g_MsgSync2, "%L: %d ^n%L %s ^n%L %d ^nLevel: %d ^nExperiencia: %d", id, "ZOMBIE_ATTRIB1", pev(ID_SHOWHUD, pev_health), ID_SHOWHUD, "CLASS_CLASS", class, ID_SHOWHUD, "AMMO_PACKS1", g_ammopacks[ID_SHOWHUD], g_level[ID_SHOWHUD], g_experiencia[ID_SHOWHUD])
}
zoolk is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 12-18-2013 , 13:48   Re: Error En HUD
Reply With Quote #2

You must post in English
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 12-18-2013 , 13:58   Re: Error En HUD
Reply With Quote #3

Hello everyone.
I've made a HUD so you can see the experience of the other players, but it gives me error when I want to compile it.
Anyone can help?

PHP Code:
if (id != ID_SHOWHUD)
    
    {
        
        
// Show name, health, class, and ammo packs
        
set_hudmessage(255255255HUD_SPECT_XHUD_SPECT_Y06.01.10.00.0, -1)
        
ShowSyncHudMsg(ID_SHOWHUDg_MsgSync2"%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(25525500.01.006.01.10.00.0, -1)
        
ShowSyncHudMsg(ID_SHOWHUDg_MsgSync2"%L: %d ^n%L %s ^n%L %d  ^nLevel: %d ^nExperiencia: %d"id"ZOMBIE_ATTRIB1"pev(ID_SHOWHUD,  pev_health), ID_SHOWHUD"CLASS_CLASS", class, ID_SHOWHUD,  "AMMO_PACKS1"g_ammopacks[ID_SHOWHUD], g_level[ID_SHOWHUD],  g_experiencia[ID_SHOWHUD])
    } 
__________________
Kia is offline
Reply


Thread Tools
Display Modes

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 20:31.


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