Hi,
This one works.
PHP Code:
public ShowHud(task)
{
new id = task - TASK_SHOW_HUD
if(!is_user_alive(id))
return;
set_hudmessage(255, 255, 0, -1.0, 0.85, 0, 6.0, 12.0)
ShowSyncHudMsg(id, g_msgHudSync,"[%s] - [%i]", Prefix[Level[id]], eXP[id])
set_task(0.1, "ShowHud", TASK_SHOW_HUD + id)
}
But this one doesn't.
PHP Code:
public ShowHud(task)
{
new id = task - TASK_SHOW_HUD
if(!is_user_alive(id))
return;
set_hudmessage(255, 255, 0, -1.0, 0.85, 0, 6.0, 12.0)
ShowSyncHudMsg(id, g_msgHudSync,"[%s] - [%i - %i]", Prefix[Level[id]], eXP[id], Levels[Level[id]])
set_task(0.1, "ShowHud", TASK_SHOW_HUD + id)
}
How come that the one with "Levels[Level[id]])" added doesn't show up?