Help wit SetTimerEx
#1

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
Reply
#2

pawn Код:
//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);
Reply
#3

post your /accepermort code.
Reply
#4

pawn Код:
#include <YSI\y_timers>

Delay:Timer[300000, i](playerid) {
    // Do your stuff here
}
Reply
#5

/acceptermort = /acceptdie , used whene player have less 10HP , so he have two Choices , /acceptdie or wait a Doctor...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)