Posts: 409
Threads: 101
Joined: Jul 2009
Reputation:
0
Hey guys,
I am using y_ini but I have a problem,when I close samp-server.exe when I am login the stats won't save..However,when I am using /q and exit the server it do save..
How can I fix it ?
Posts: 810
Threads: 17
Joined: Aug 2013
Reputation:
0
You won't get help because we can't determine your problem causing this. Would you mind if you show us your codes?
Posts: 810
Threads: 17
Joined: Aug 2013
Reputation:
0
Show me your login/register system codes. (onplayerconnect,ondialogresponse, etc..)
Posts: 279
Threads: 11
Joined: Jul 2012
Reputation:
0
Probably the saving player data callback isn't called when samp-server.exe closed, you have to loop all online players in OnGameModeExit and there save their data.
Posts: 323
Threads: 79
Joined: Sep 2013
Reputation:
0
i have nearly the same problem,when i close the samp-server.exe and re-open it,my stats doesn't load.