SA-MP Forums Archive
Reading names of IP - 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: Reading names of IP (/showthread.php?tid=160396)



Reading names of IP - KennethRandall - 16.07.2010

How to read the names of a player per IP. For example, my IP is 11.22.33.44
And I registered 5 accounts, then on /pstats it will say

Registered names on this IP: name1, name2, name3, etc..
I hope you guys can help me


Re: Reading names of IP - zSuYaNw - 16.07.2010

https://sampwiki.blast.hk/wiki/GetPlayerIp


Re: Reading names of IP - KennethRandall - 16.07.2010

Quote:
Originally Posted by [Full]Garfield[XDB]
Посмотреть сообщение
But how do I read names from IPs in userfiles, I don't understand that


Re: Reading names of IP - Finn - 16.07.2010

Make own folder for IPs then save them (replace dots with _, so the filename would be i.e. 192_168_1_1) there with the names of previous accounts in the file. Then every time player joins, check if the IP of him is already stored in that folder and show the names whatsoever.