[HELP] Phone system problem
#2

You may...

Global Variable ---->
pawn Код:
new Timers[MAX_PLAYERS];
OnPlayerConnect --->
pawn Код:
Timers[playerid] = SetTimerEx("TaxiMeter", 1000, true, "i", playerid);
OnPlayerDisconnect --->
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.
Reply


Messages In This Thread
[HELP] Phone system problem - by 032.Marcus - 19.11.2014, 16:42
Re: [HELP] Phone system problem - by Fel486 - 19.11.2014, 16:52
Re : [HELP] Phone system problem - by Dutheil - 19.11.2014, 17:05
Re: Re : [HELP] Phone system problem - by dominik523 - 19.11.2014, 18:01
Re : Re: Re : [HELP] Phone system problem - by Dutheil - 19.11.2014, 18:03
Re: [HELP] Phone system problem - by 032.Marcus - 19.11.2014, 18:03
Re: Re : Re: Re : [HELP] Phone system problem - by dominik523 - 19.11.2014, 18:21
Re : Re: Re : Re: Re : [HELP] Phone system problem - by Dutheil - 19.11.2014, 18:22

Forum Jump:


Users browsing this thread: 6 Guest(s)