31.05.2011, 11:29
Thank you for helping. I used dini in my script before, but i changed it to Djson. My gamemode saves and loads the players position, and when im in the server and closing the server window, i just respawn and die, and nothing is saved. I made a function called "SaveUserData(playerid);", and its called in the "OnPlayerDisconnect" callback, but this peoblem occurs. And by the way; it didnt work with dini either.