04.01.2014, 14:33
Hi guys...
I have one question, should i use player variables like new PVARIABLE[MAX_PLAYERS] or this kind of variables https://sampwiki.blast.hk/wiki/SetPVarInt ?
I know that the variables like PVARIABLE[MAX_PLAYERS] are not resetting if the client crash, that kind of variables i'm resetting under OnPlayerDisconnect so if someone disconnects properly, his variables will return to 0, but if their sa-mp client crash the variables aren't resetting... So my final question is - Are this kind of variables ( https://sampwiki.blast.hk/wiki/SetPVarInt ) resetting automatically after player disconnects/crash ?
I have one question, should i use player variables like new PVARIABLE[MAX_PLAYERS] or this kind of variables https://sampwiki.blast.hk/wiki/SetPVarInt ?
I know that the variables like PVARIABLE[MAX_PLAYERS] are not resetting if the client crash, that kind of variables i'm resetting under OnPlayerDisconnect so if someone disconnects properly, his variables will return to 0, but if their sa-mp client crash the variables aren't resetting... So my final question is - Are this kind of variables ( https://sampwiki.blast.hk/wiki/SetPVarInt ) resetting automatically after player disconnects/crash ?