08.06.2011, 17:44
Hello everyone. I know i have asked this question before, but didnt get a solution.
Now i will ask again to clear things up.
My problem is, I have a gamemode which saves user stats when player disconnect, but, it doesnt get saved when the server shuts down (like closing the server window or crashing). I have searched ******, and found this https://sampforum.blast.hk/showthread.php?tid=90943
Its about a function called OnPlayerUpdateEx, that i have seen in other gamemodes several times (Ex.: Ravens Roleplay). But i dont know how to do it.
Hope someone here can help me. Thanks.
Msg to SA-MP admins: Yes, i know i posted this before, please don't delete it, delete the old one in stead. Thanks
Now i will ask again to clear things up.
My problem is, I have a gamemode which saves user stats when player disconnect, but, it doesnt get saved when the server shuts down (like closing the server window or crashing). I have searched ******, and found this https://sampforum.blast.hk/showthread.php?tid=90943
Its about a function called OnPlayerUpdateEx, that i have seen in other gamemodes several times (Ex.: Ravens Roleplay). But i dont know how to do it.
Hope someone here can help me. Thanks.
Msg to SA-MP admins: Yes, i know i posted this before, please don't delete it, delete the old one in stead. Thanks