25.10.2019, 13:16
Hey!
I got a question about timers.. basically I'm not sure when should I use for example..
First option:
or
Second Option:
Because what happens if for example during the time timer is valid, player disconnects? I guess timer gets bugged and next time that ID connects it bugs him out or something?
Because lets say I use the second option for multiple player id's.. I guess I gotta use first option if I use it for more player id's than one.. or ?
I got a question about timers.. basically I'm not sure when should I use for example..
First option:
Code:
new timer[MAX_PLAYERS]; timer[playerid] = SetTimerEx("Test", 2000, 0, "d", playerid);
Second Option:
Code:
SetTimerEx("Test", 2000, 0, "d", playerid);
Because lets say I use the second option for multiple player id's.. I guess I gotta use first option if I use it for more player id's than one.. or ?