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)
+--- Thread: login (/showthread.php?tid=510723)



login - hillko - 02.05.2014

how to make auto login, ie auto entry without a password! for RP server?


Re: login - Eth - 02.05.2014

first of all , make something to get the player ip, if the player ip = the last saved ip then hide the dialog:ShowPlayerDialog(playerid,-1,0,"","","","");


Re: login - XK - 02.05.2014

When player registers save his ip in his file,and when he connects to the sever if he has the same ip,hide the dialog ,else show him the dialog to log in.


Re: login - hillko - 02.05.2014

as this function do?


Re: login - XK - 02.05.2014

Listen under the registeration system in your gamemode get player's ip and save it in his file and when he connects again check if he has the same ip ,if not show him the dialog


Re: login - hillko - 02.05.2014

Quote:
Originally Posted by XK
Посмотреть сообщение
Listen under the registeration system in your gamemode get player's ip and save it in his file and when he connects again check if he has the same ip ,if not show him the dialog
suppose! I go to serv her again and requires re-login to lead! how to make so as not to enter?