05.10.2011, 17:15
Hello i will want a timer for the player must wait 5minutes for do the command /acceptermort when he die,
Can you help me?
Thanks
Can you help me?
Thanks
//at the top of script
forward Timer(playerid);
//somewhere outside any callback
public Timer(playerid)
{
//CODE HERE
return 1;
}
//at onplayerdeath
SetTimer("Timer",300000,0);
#include <YSI\y_timers>
Delay:Timer[300000, i](playerid) {
// Do your stuff here
}