09.03.2009, 15:15
What I need it a timer and after every 5 minutes on the server, the player gets 5 points.
I tried
new pointer[MAX_PLAYERS];
pointer[playerid] = SetTimerEx(...);
then OnPlayerDiconnect KillTimer(pointer[playerid]);
But it started to spam the 5 point timer when I relogged a few times, so it wasn't killing it.
If there a way to kill SetTimerEx?
I tried
new pointer[MAX_PLAYERS];
pointer[playerid] = SetTimerEx(...);
then OnPlayerDiconnect KillTimer(pointer[playerid]);
But it started to spam the 5 point timer when I relogged a few times, so it wasn't killing it.
If there a way to kill SetTimerEx?