HELP - 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: HELP (
/showthread.php?tid=294150)
HELP -
Salsa - 31.10.2011
Hello Guys Again:
I Need Help again Coz my Server Data Fully Deleted Now
Help me with Money and Saving :
Money and Saving Not saving on my Gm When player Leaves Money and score reset To 0 Any One Have Any Solution Plz Help
There is OnPlayerDisconnect text
http://pastebin.com/J0FKyb3f
Re: HELP -
Salsa - 31.10.2011
Sorry For Double Post:
But I Really Need Help
Re: HELP -
leong124 - 01.11.2011
Have you saved these in your callback?
pawn Код:
savedInfo[savePos][0] = GetPlayerMoney(playerid);
savedInfo[savePos][1] = bank[playerid];
savedInfo[savePos][2] = bounty[playerid];
savedInfo[savePos][3] = 0;
Seems that I can't find any saving code for that. Also please make sure that PLAYERLIST_authed[playerid] is true when a player disconnects. You can do some printings to check if the value is correct.
Also, generally you may need to check if there's any run-time error before the saving code. The crashdetect plugin may be useful for you.