SA-MP Forums Archive
a question about dini - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: a question about dini (/showthread.php?tid=148152)



a question about dini - aircombat - 16.05.2010

Ok so this is my first time to use dini but after making the whole script i found out a bug i can't fix which is that when i restart the filterscript (with /reloadfs) it doesn't get the player info ?


Re: a question about dini - cessil - 16.05.2010

I don't understand what you mean


Re: a question about dini - Faith - 16.05.2010


It probably didnt save properly into the file..

Did you check the file if anything happens while the server is running?


Re: a question about dini - aircombat - 16.05.2010

Everything work fine even the file save and when the player reconnect his stats is saved but when I reload the filterscript the stats get restored


Re: a question about dini - aircombat - 16.05.2010




Re: a question about dini - aircombat - 17.05.2010




Re: a question about dini - Cank - 17.05.2010

hm, I think you have the code for player info in OnPlayerConnect, right?
when you just do /reloadfs, the filterscript is reloaded but OnPlayerConnect isnt called because youre still on the server.
so it can`t get the player info.



Re: a question about dini - aircombat - 18.05.2010

Quote:
Originally Posted by Cank
hm, I think you have the code for player info in OnPlayerConnect, right?
when you just do /reloadfs, the filterscript is reloaded but OnPlayerConnect isnt called because youre still on the server.
so it can`t get the player info.
is there anything to solve it , cause i download ladmin4v2 and when i reload it my info still there and onplayerconnect is called