04.01.2014, 14:42
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:
it will be reset normally.
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;