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