SA-MP Forums Archive
[HELP]: Saving... - 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]: Saving... (/showthread.php?tid=429389)



[HELP]: Saving... - Areax - 09.04.2013

Hello there!

I have another question...

When I join my server and type /setscore (my ID) (ammount) and then leave server...and when I come back there is no score.

Code:

http://pastebin.com/tdLKb0fh

Can someone please check this code and tell me what is wrong ?

Thanks for your time and help...


Re: [HELP]: Saving... - DobbysGamertag - 09.04.2013

Is the file created in scriptfiles?


Re: [HELP]: Saving... - Areax - 09.04.2013

Quote:
Originally Posted by DobbysGamertag
Посмотреть сообщение
Is the file created in scriptfiles?
Yes...


Re: [HELP]: Saving... - zxc1 - 09.04.2013

Add in the command:
pawn Код:
gPlayerInfo[playerid][PLAYER_SCORE] = score;