Posts: 33
Threads: 7
Joined: Jan 2016
Reputation:
0
Hello SA:MP scripters, I have a concern how can I make when someone registered an account on my server will show admins how many accounts are registered in the same IP he's got.
Sorry for bad english.
Hope to get some help, thank you bros.
Posts: 378
Threads: 29
Joined: Aug 2015
Reputation:
0
i have been thinking to make something similar for a while, but i am afraid I just haven't got around it.
ps thanks for the inspiration.
Posts: 1,166
Threads: 44
Joined: Sep 2009
Reputation:
0
If you're using mysql to save your player accounts, log their IP when they register, every time a new player registers select all IPs that are equal to the new players IP.
Posts: 79
Threads: 2
Joined: Dec 2010
Show both accounts and iplog table structure
Posts: 33
Threads: 7
Joined: Jan 2016
Reputation:
0
@Konstantinos Yes is Unique so, I'm adding the code you gave me OnPlayerRegister or sum kinda of?
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
Yes, execute the query in OnPlayerRegister.