SA-MP Forums Archive
Userfile saving problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Userfile saving problem (/showthread.php?tid=293656)



Userfile saving problem - AarabMoney - 29.10.2011

Alright, I have a problem with my gamemode. Everytime I restart the server or close the server, the player variables in the userfiles gets resetted to 0. This only happens to the players that were logged in before the reset. I've been searching for a solution to fix this for a while now, but I still haven't found anything. Perhaps any of you have experienced this bug once and fixed it? (Already tried making it save at OnGameModeExit())


PAWN Code:
http://pastebin.com/C9W3PKFr


Re: Userfile saving problem - AarabMoney - 03.11.2011

Bump, I still have this bug and I don't know what I'm doing wrong :S


Re: Userfile saving problem - AarabMoney - 03.11.2011

Problem solved, had to do it on another way but I managed to fix it now.