Variable resetting after player disconnect...
#3

I do not recommend you to use PVars: https://sampforum.blast.hk/showthread.php?tid=268499

Variables (in your case the array) will be reset even if the player crashed. OnPlayerDisconnect is called so if you have:
pawn Код:
// OnPlayerDisconnect:
PVARIABLE[playerid] = 0;
it will be reset normally.
Reply


Messages In This Thread
Variable resetting after player disconnect... - by NeroX98 - 04.01.2014, 14:33
Re: Variable resetting after player disconnect... - by Wizza - 04.01.2014, 14:39
Re: Variable resetting after player disconnect... - by Konstantinos - 04.01.2014, 14:42
Re: Variable resetting after player disconnect... - by NeroX98 - 04.01.2014, 18:39

Forum Jump:


Users browsing this thread: 1 Guest(s)