24.06.2012, 19:46
In your OnPlayerDataSave function you have an IsPlayerConnected check, yet you are calling this function in OnPlayerDisconnect, if the player is disconnected then IsPlayerConnected isn't going to be true ![Smiley](images/smilies/smile.png)
I may be wrong though, it may actually return true, other than that you should do some debugging, add some print values before/after each if statement in your function and make sure it is passing the statements.
![Smiley](images/smilies/smile.png)
I may be wrong though, it may actually return true, other than that you should do some debugging, add some print values before/after each if statement in your function and make sure it is passing the statements.