20.11.2011, 05:41
Well, you need a new function for that:
Or you can use SetTimerEx for every player:
So basically, whatever you want to happen when the timer ends, you put it in the "PressJump" function and that'll happen when the timer end occurs.
pawn Код:
SetTimer("PressJump", 15000, 0);
forward PressJump();
public PressJump()
{
print("Timer ended");
}
pawn Код:
SetTimerEx("PressJump", 15000, false, "i", playerid);
forward PressJump(playerid);
public PressJump(playerid)
{
SendClientMessage(playerid, -1, "The timer ended.");
}