I get this error in server console:
Quote:
L 05/29/2010 - 08:44:19: [AMXX] [0] hrk_zpmmod.sma::ShowHealth (line 417)
L 05/29/2010 - 08:44:20: [AMXX] Displaying debug trace (plugin "hrk_zpmmod.amxx")
|
Using this code:
PHP Code:
public ShowHealth(id)
{
if (g_zombie[id] && is_user_alive(id))
{
new Health
Health = get_user_health(id)
set_hudmessage(255, 0, 0, 0.02, 0.97, 0, 0.0, 0.3, 0.0, 0.0)
show_hudmessage(id, "|Health: %d || Class: %s|", Health, CLASSES[ZombieClass[id]]) //// on this line is error.
}
}
Who can help me ?