Question about PVars and timerex.
#2

You could avoid such situations simply by turning them off when player disconnect
A timer for example
pawn Код:
forward Timer(playerid);
public Timer(playerid)
{
if(!IsPlayerConnected(playerid))return KillTimer(YourTimer);
}
For PVars i think they get set to false when player disconnects but anyways you could use
pawn Код:
public OnPlayerDisconnect(playerid)
{
SetPVarInt(playerid, "MyVar", 0);
//.......
Reply


Messages In This Thread
Question about PVars and timerex. - by PaulDinam - 19.02.2013, 18:20
Re: Question about PVars and timerex. - by DaRk_RaiN - 19.02.2013, 18:28
Re: Question about PVars and timerex. - by Johnson_boy - 19.02.2013, 18:29
Re: Question about PVars and timerex. - by Scenario - 19.02.2013, 18:34
Re: Question about PVars and timerex. - by PaulDinam - 19.02.2013, 18:40
Re: Question about PVars and timerex. - by Scenario - 19.02.2013, 18:43
Re: Question about PVars and timerex. - by PaulDinam - 19.02.2013, 18:47
Re: Question about PVars and timerex. - by PaulDinam - 19.02.2013, 20:07

Forum Jump:


Users browsing this thread: 2 Guest(s)