02.08.2011, 14:53
Hello,
I'm making a script that's totally based on PVars. Almost all player info is saved in player variables.
Now i noticed the following problem: Sometimes the stats aren't saved correctly. For example: I was 1337 admin, and when i joined my level was 0. Suddenly i realised that PVars will be deleted when a player disconnects.
When they will be deleted? Before OnPlayerDisconnect or after it? This is crucial for my stats saving system.
Greetz,
Danny
I'm making a script that's totally based on PVars. Almost all player info is saved in player variables.
Now i noticed the following problem: Sometimes the stats aren't saved correctly. For example: I was 1337 admin, and when i joined my level was 0. Suddenly i realised that PVars will be deleted when a player disconnects.
When they will be deleted? Before OnPlayerDisconnect or after it? This is crucial for my stats saving system.
Greetz,
Danny