Author Topic: Kick IP  (Read 1385 times)

[RU]Kewun

  • Full Member
  • ***
  • Posts: 126
  • Karma: +11/-21
  • C.R.C Marshal
    • View Profile
Kick IP
« on: January 30, 2015, 01:48:18 pm »
is it possible to kick player with ip in connecting? i want to kick a player with ip when he connects to server.
Fear the wrath of god!


finalround

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Kick IP
« Reply #1 on: January 31, 2015, 01:06:12 am »

[RU]Kewun

  • Full Member
  • ***
  • Posts: 126
  • Karma: +11/-21
  • C.R.C Marshal
    • View Profile
Re: Kick IP
« Reply #2 on: May 27, 2015, 08:46:33 pm »
i didnt mean banned ip, i want a kick ip of player when joins
Fear the wrath of god!


Ankris

  • Full Member
  • ***
  • Posts: 110
  • Karma: +29/-44
    • View Profile
Re: Kick IP
« Reply #3 on: May 27, 2015, 11:47:44 pm »
connect:

Code: [Select]
function onPlayerConnect(player) { KickPlayer(player); }
join:

Code: [Select]
function onPlayerJoin(player) { KickPlayer(player); }

[RU]Kewun

  • Full Member
  • ***
  • Posts: 126
  • Karma: +11/-21
  • C.R.C Marshal
    • View Profile
Re: Kick IP
« Reply #4 on: May 28, 2015, 02:39:25 pm »
in the (player) player i put ip ?
Fear the wrath of god!


rwwpl

  • Full Member
  • ***
  • Posts: 126
  • Karma: +18/-6
  • LU-DM Team
    • View Profile
    • LU-DM Team
Re: Kick IP
« Reply #5 on: May 28, 2015, 04:29:13 pm »
Code: [Select]
function onPlayerConnect(player)
{
if (player.IP == "0.0.0.0")
{
KickPlayer(player);
}
}

Code: [Select]
function onPlayerJoin(player)
{
if (player.IP == "0.0.0.0")
{
KickPlayer(player);
}
}

 

© Liberty Unleashed Team.