19.11.2014, 16:52
You may...
Global Variable ---->
OnPlayerConnect --->
OnPlayerDisconnect --->
Well, about GMX. So, if you have all these times already set, you show end up them on the GMX process (GameModeExit). So, put that at it:
Sorry if any code is wrong in synthax, so much time I won't go in Pawn language.
Global Variable ---->
pawn Код:
new Timers[MAX_PLAYERS];
pawn Код:
Timers[playerid] = SetTimerEx("TaxiMeter", 1000, true, "i", playerid);
pawn Код:
KillTimer(Timers[playerid]);
Well, about GMX. So, if you have all these times already set, you show end up them on the GMX process (GameModeExit). So, put that at it:
pawn Код:
for(int a = 0; a < MAX_PLAYERS; a++) if(IsPlayerConnected(a)) KillTimer(Timers[a]);
Sorry if any code is wrong in synthax, so much time I won't go in Pawn language.