As fysiks sayd , you must put ";" at the end of each instruction (except if,while and for loop)
And also use task without task show hud when you set new task.
Like this:
PHP Code:
public ShowHud(const task)
{
new id = task - TASK_SHOW_HUD;
if(!is_user_alive(id) )
return;
set_hudmessage(0, 255, 0, 0.02, 0.33, 0, 0.0, 0.3, 0.0, 0.0);
ShowSyncHudMsg(id, g_msgHudSync,"[Grade : ]^n[XP : ]^n[Level : ^4^3]^n[Points : %i]", gKillerPoints[ id ] );
set_task( 0.1, "ShowHud", task );
}