How can i define this:
PHP Code:
if (g_zombie[id] && PlayerClass[id] == 0)
That if this class in game it show that this class is hunter ? Like:
Health: 600 | Class: Hunter . like this? :
PHP Code:
ShowSyncHudMsg(id, g_hudsync , "Health: %d | Class: %d", health, PlayerClass)
if no can you help me to define it heres error when i compile without
PHP Code:
ShowSyncHudMsg(id, g_hudsync , "Health: %d | Class: %d", health, PlayerClass)
.
Code:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team
//// zombie_swarm(2).sma
// D:\Dovydo\Counter - strike Failai\Addonai\L4DPlague\L4DPlague\addons\amxmodx\
scripting\zombie_swarm(2).sma(571) : error 017: undefined symbol "PlayerClass"
// D:\Dovydo\Counter - strike Failai\Addonai\L4DPlague\L4DPlague\addons\amxmodx\
scripting\zombie_swarm(2).sma(571) : warning 215: expression has no effect
// D:\Dovydo\Counter - strike Failai\Addonai\L4DPlague\L4DPlague\addons\amxmodx\
scripting\zombie_swarm(2).sma(571) : error 001: expected token: ";", but found "
]"
// D:\Dovydo\Counter - strike Failai\Addonai\L4DPlague\L4DPlague\addons\amxmodx\
scripting\zombie_swarm(2).sma(571) : error 029: invalid expression, assumed zero
// D:\Dovydo\Counter - strike Failai\Addonai\L4DPlague\L4DPlague\addons\amxmodx\
scripting\zombie_swarm(2).sma(571) : fatal error 107: too many error messages on
one line
//
// Compilation aborted.
// 4 Errors.
// Could not locate output file D:\Dovydo\Counter - strike Failai\Addonai\L4DPla
gue\L4DPlague\addons\amxmodx\scripting\compiled\zombie_swarm(2).amx (compile fai
led).
//
// Compilation Time: 0,31 sec
// ----------------------------------------
Press enter to exit ...