SA-MP Forums Archive
Autologin with MYSQL - 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: Autologin with MYSQL (/showthread.php?tid=178273)



Autologin with MYSQL - Tekto - 21.09.2010

So , I have a question, I hope that somebody will answer.

I need autologin.
I have MYSQL Database, so i need that it somehow saves it into database and then gets it and if it's true then it will autologin.

Im quite beginner on MYSQL so please help !


Re: Autologin with MYSQL - Tekto - 22.09.2010

BUMP YEA


Re: Autologin with MYSQL - Scenario - 22.09.2010

It doesn't have anything to do with your database. It matters about your code. Post your code.


Re: Autologin with MYSQL - Tekto - 22.09.2010

I dont have any code.
I need that it saves IP to database and then loads it from database and if it's true with that IP what he joined and that what is on database then it will autologin.


Re: Autologin with MYSQL - Scenario - 22.09.2010

Quote:
Originally Posted by Tekto
Посмотреть сообщение
I dont have any code.
I need that it saves IP to database and then loads it from database and if it's true with that IP what he joined and that what is on database then it will autologin.
Good luck trying to do that without any code! If you do not have any MySQL code in your script, then you'll first have to create that. Then you can ask about the auto-login via a matching IP address.


Re: Autologin with MYSQL - Tekto - 22.09.2010

Mh, i have mysql system..

And it saves IP to mysql database, but how i put it on connect


Re: Autologin with MYSQL - Conroy - 22.09.2010

Query the player to the database when the player connects, simple.


Re: Autologin with MYSQL - Tekto - 22.09.2010

Can u give me the code ?


Re: Autologin with MYSQL - [HiC]TheKiller - 22.09.2010

https://sampforum.blast.hk/showthread.php?tid=159785

Not trying to advertise but that's what you need.


Re: Autologin with MYSQL - Tekto - 22.09.2010

Sorry, but i have MYSQL system already.
I need just that it saves IP to query.
Please how to do that ?.