Command that detects player's same IP?
#4

create an enum with 2 variables, ip and players name.

When a player connects, get his/her ip address.

Now loop through the enum for that ip address, if it not found then loop through the enum for an empty slot, then set that empty slot with the players name and ip.

Simple and easy.
Reply


Messages In This Thread
Command that detects player's same IP? - by D1am0nd - 09.11.2015, 19:33
AW: Command that detects player's same IP? - by BiosMarcel - 09.11.2015, 20:29
Re: Command that detects player's same IP? - by Abagail - 09.11.2015, 20:32
Re: Command that detects player's same IP? - by jeffery30162 - 10.11.2015, 13:46

Forum Jump:


Users browsing this thread: 2 Guest(s)