12.12.2017, 16:04
How to run same timer multiple times? not on repeat, but to run it whenever needed
new Countdown = -1;
{ if(Countdown) { Countdown--; { elseif(Countdown==0) { Countdown--; SendMessageToAll(-1, "Join time finished."); } elseif(Countdown<0) { } }
Countdown=5; SendMessageToAll(-1, "Join match via /join");
if(!Countdown) { SendClientMessage(playerid, -1, "You are too late to join."); } else { SetPlayerPos(playerid, x,y,z); }