SA-MP Forums Archive
My script doesn't save's antyhing! - 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: My script doesn't save's antyhing! (/showthread.php?tid=100196)



My script doesn't save's antyhing! - Hot - 03.10.2009

http://pastebin.com/m592594ca

What's happening? I logout and it doesn't save!


Re: My script doesn't save's antyhing! - MenaceX^ - 03.10.2009

In OnPlayerDisconnect you set the Logged variable to false, and at your SavePlayer function, it will save only if the logged variable is set to true.