Dynamic IP ban
#4

Ok thanks!
Now i want to create if the player connects bans him
his ip is 109.61.***.***
i dont know how to use GetPlayerIP
can you help?

Code:
new plrIP[16];
  GetPlayerIp(playerid, plrIP, sizeof(plrIP));
  if(!strcmp(plrIP, "109.61"))
  SendClientMessage(playerid, 0xFFFFFFFF, "hehehe -.-'");
  Ban(playerid);
will this work?
Reply


Messages In This Thread
Dynamic IP ban - by sushihusi - 11.06.2010, 17:05
Re: Dynamic IP ban - by Flashy - 11.06.2010, 17:13
Re: Dynamic IP ban - by Hiddos - 11.06.2010, 17:20
Re: Dynamic IP ban - by sushihusi - 11.06.2010, 17:26
Re: Dynamic IP ban - by Hiddos - 11.06.2010, 17:32
Re: Dynamic IP ban - by sushihusi - 11.06.2010, 17:33
Re: Dynamic IP ban - by Jakku - 11.06.2010, 17:35
Re: Dynamic IP ban - by Hiddos - 11.06.2010, 17:36
Re: Dynamic IP ban - by sushihusi - 11.06.2010, 17:37
Re: Dynamic IP ban - by wolfcock - 10.07.2010, 17:40

Forum Jump:


Users browsing this thread: 1 Guest(s)