SA-MP Forums Archive
how to update player ip on connect - 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: how to update player ip on connect (/showthread.php?tid=588013)



how to update player ip on connect - SWAT4 - 04.09.2015

i Got in my Mysql database IP of the player, but i want to put "LastIP" , wich registers The last logged in ip of the user, Do you know a way to update it into the database?
i tried to use Insert one, but it didn't seem to work , it keeps on the same ip, thanks in advance


Re: how to update player ip on connect - Abagail - 04.09.2015

If you want a static constantly-changing lastIP column in the players account table simply use an UPDATE query.