SA-MP Forums Archive
How can i make an auto login system? - 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: How can i make an auto login system? (/showthread.php?tid=263423)



How can i make an auto login system? - kin - 21.06.2011

I have a custom login/register script. I have made it from scratch, so i am wondering how to make it so if the player has already registered an account with our server. It would automatically log them in upon the loading, or connection of the certain player. I have no idea how to approach this correctly, so if this kind community can be so nice to help me figure it out. I would greatly appreciate it.


Re: How can i make an auto login system? - Sasino97 - 21.06.2011

You can do it by getting the IP


Re: How can i make an auto login system? - ricardo178 - 21.06.2011

As you are already helped by Sasino, i would ask you if it is in Dialog...
If it isn't, i would like to recommend you to do so, otherway it will be out of date, as all the good servers now a days have it...


Re: How can i make an auto login system? - kin - 21.06.2011

We currently have too many dialogs so far, approx. 1k+. So we are using the original text so it does not conflict with the servers dialogs. So thank you Sasino.


Re: How can i make an auto login system? - getAlife - 21.06.2011

Quote:
Originally Posted by ricardo178
Посмотреть сообщение
otherway it will be out of date, as all the good servers now a days have it...
This doesn't make any sense. Sometimes i like a /register CMD more than a dialog that appears on your screen. Also you can ask yourself if you want to force your players to register. When not you better use a CMD as a dialog freezes the player (freeroam, stunt etc not included, more for DM, race etc...).