SA-MP Forums Archive
Login... - 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: Login... (/showthread.php?tid=254790)



Login... - mel~vin - 12.05.2011

How to make an auto-login system...?

Must i save the ip and check IP before and after connecting or how;///

THX


Re: Login... - Max_Coldheart - 12.05.2011

Ask for password and save it in file. When he connects request password and check if it Matches The one in file


Re: Login... - sobolanux - 12.05.2011

Quote:
Originally Posted by Max_Coldheart
Посмотреть сообщение
Ask for password and save it in file. When he connects request password and check if it Matches The one in file
That`s actually a normal login system.

@ Topic creator

That`s quite the main idea. It depends on the IP of the player. If it matches the IP when he disconnected, then he auto-logs. Else, he must manually login.