Liberty Unleashed
Scripting => Script Help => Topic started by: [RU]Kewun on January 30, 2015, 12: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.
-
http://vcmp.liberty-unleashed.co.uk/forum/index.php?topic=757 (http://vcmp.liberty-unleashed.co.uk/forum/index.php?topic=757)
-
i didnt mean banned ip, i want a kick ip of player when joins
-
connect:
function onPlayerConnect(player) { KickPlayer(player); }
join:
function onPlayerJoin(player) { KickPlayer(player); }
-
in the (player) player i put ip ?
-
function onPlayerConnect(player)
{
if (player.IP == "0.0.0.0")
{
KickPlayer(player);
}
}
function onPlayerJoin(player)
{
if (player.IP == "0.0.0.0")
{
KickPlayer(player);
}
}