ok when i did it like this, it just keeps repeating and never stop.
why?
Code:
public testsounds(id)
{
set_task(240.0, "timesounds", _, _, _, "d")
return PLUGIN_CONTINUE
}
}
public timesounds(id)
{
client_cmd(id,"mp3 play sound/halomod/thirty_seconds_remaining.mp3")
set_hudmessage(42, 170, 255, 0.04, 0.17, 0, 6.0, 12.0);
show_hudmessage(id, "30 sec remaining")
client_print(0,print_chat,"30 sec remaining")
}
__________________