Registration / .ini 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: Registration / .ini problem (
/showthread.php?tid=306203)
Registration / .ini problem -
TudvariHUN - 25.12.2011
Hi guys,I want to ask for your helps.
I've written a registration script for my game mode.It saves a lot of things in an .ini file.
If I add some money to me,then I relog i will have to money,because it is in the .ini file.
But If I restart the server,it senses that I'm registered,but the other datas for example: position,money etc. is lost ingame (In the .ini file,the informations are correct) So it's only works if I delete the .ini files every times I restart the server.
So,could you please help fixing this problem?
Thanks a lot,
Greetings from Hungary
Re: Registration / .ini problem -
spedico - 25.12.2011
If you save the data in specific folder (like scriptfiles/Users/) make sure you have created the folder called "Users" in the scriptfiles folder.
Re: Registration / .ini problem -
TudvariHUN - 25.12.2011
I created it a long time ago,that's not the problem,but thanks.
Update: Now I know that the money correctly loads in,but the serious problem is the position and the skin. PLS help me!