GetPlayerIp - Getting it with strcmp?
#1

I have a total blackout in GetPlayerIp. I wrote this:


pawn Код:
new ip[16];
  GetPlayerIp(playerid, ip, sizeof(ip));
  if(!strcmp(ip, "85.76.*.*")) {
  Kick(playerid);
  }

Somehow, it doesn't take effect. Maybe I have a wrong syntax with the IP or something?
Reply


Messages In This Thread
GetPlayerIp - Getting it with strcmp? - by Jakku - 21.05.2010, 14:42
Re: GetPlayerIp - Getting it with strcmp? - by DJDhan - 21.05.2010, 14:45
Re: GetPlayerIp - Getting it with strcmp? - by Jakku - 21.05.2010, 14:47
Re: GetPlayerIp - Getting it with strcmp? - by WackoX - 21.05.2010, 14:48
Re: GetPlayerIp - Getting it with strcmp? - by Calgon - 21.05.2010, 14:49
Re: GetPlayerIp - Getting it with strcmp? - by Zeex - 21.05.2010, 15:05
Re: GetPlayerIp - Getting it with strcmp? - by Calgon - 21.05.2010, 15:32
Re: GetPlayerIp - Getting it with strcmp? - by ¤Adas¤ - 21.05.2010, 15:39
Re: GetPlayerIp - Getting it with strcmp? - by Zeex - 21.05.2010, 16:24
Re: GetPlayerIp - Getting it with strcmp? - by ¤Adas¤ - 21.05.2010, 18:06

Forum Jump:


Users browsing this thread: 1 Guest(s)