SA-MP Forums Archive
Register/login doesnt work properly, help is needed. - 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: Register/login doesnt work properly, help is needed. (/showthread.php?tid=223878)



Register/login doesnt work properly, help is needed. - Gemini - 10.02.2011

Ive been using a admin/register system. Whenever I create a new name, and go into my server and /register, it works. But when I close the Samp Dedicated Server.exe, and reopen it, the server does not know the registered users anymore.
When I join the server with the same nick I just registered, and attempt to login it gives me "You are not registered. Please /register."

Whys this? is it because I reloaded the server (closed and opened the server.exe again), or might it be some mistake in the script?

I use Nadmin. Heres the pastebin script:
http://pastebin.com/b0DbeJqH

Thank you in advantage.
Gemini ~


Re: Register/login doesnt work properly, help is needed. - Gemini - 11.02.2011

anyone?


Re: Register/login doesnt work properly, help is needed. - Kasis - 11.02.2011

try creating new folder named "MyAdmin" in sriptfile folder and in that "MyAdmin" folder create another folder which is named "Users".
Should work now.


Re: Register/login doesnt work properly, help is needed. - Gemini - 11.02.2011

duh, that seems obvious, I did that already. Anyway I found a good admin/register script now that saves everything, even after server restart. Ladmin.