15.08.2016, 10:50
Thanks and 1 more question, is the timer auto killed if player logs out.
Example #1:
Example #2:
Example #3:
Funtions:
Example #1:
Code:
OnPlayerConnect(playerid) { SetTimerEx("Function2", 120000, false, "i", playerid); return 1; }
Code:
new timergoing[MAX_PLAYERS]; OnPlayerConnect(playerid) { timergoing[playerid] = SetTimerEx("Function2", 120000, false, "i", playerid); return 1; }
Code:
OnPlayerConnect(playerid) { SetTimer("Function",80000,false); return 1; }
Code:
Function (playerid) { // code return 1; } Function2 () { // code return 1; }