[UN SOLVED] Autokick wrong ip + name
#6

pawn Код:
if(strcmp(plrIP, "YOUR IP HERE"))
   {
     Kick(playerid);
   }
I'm not 100% sure if this would work (the thing I will suggest below) but I've tried it connecting to my own server through an IP that was set up.

pawn Код:
if(!strcmp(plrIP, "127.0.0.1"))
   {
     Kick(playerid);
   }
I'm just thinking of this, dont know if it will work or not though.
Reply


Messages In This Thread
[UN SOLVED] Autokick wrong ip + name - by BP13 - 07.10.2009, 20:03
Re: Autokick wrong ip + name - by dice7 - 07.10.2009, 20:05
Re: Autokick wrong ip + name - by BP13 - 07.10.2009, 20:10
Re: Autokick wrong ip + name - by viKKmaN - 07.10.2009, 20:20
Re: Autokick wrong ip + name - by BP13 - 07.10.2009, 20:35
Re: Autokick wrong ip + name - by Hiitch - 07.10.2009, 21:20
Re: Autokick wrong ip + name - by BP13 - 07.10.2009, 21:27

Forum Jump:


Users browsing this thread: 1 Guest(s)