SA-MP Forums Archive
Auto 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)
+--- Thread: Auto login (/showthread.php?tid=562369)



Auto login - Arastair - 08.02.2015

Hello,

Is this possible?

If the player doesn't exit the client he will be connected to the server automatically without any password needed!


Yours Sincerely,
Arash


Re: Auto login - Knappen - 08.02.2015

One way to do it is to store the IP of the player, when he enters his password for the first time. If he then logs in from the same IP again, you can skip the password.


Re: Auto login - Arastair - 08.02.2015

Quote:
Originally Posted by Knappen
Посмотреть сообщение
One way to do it is to store the IP of the player, when he enters his password for the first time. If he then logs in from the same IP again, you can skip the password.
I know that, what the route gets restarted and the player is still in game (AFK) and the human whom controls it is not there or sleep?