Can ?
#3

Something like this?

pawn Код:
public OnPlayerConnect(playerid)
{
    new IP[16];
    GetPlayerIp(playerid, IP, sizeof(IP));
    if(!strcmp(IP, "Your IP"))
    {
        SendClientMessage(playerid, 0xFFFFFFFF, "You can join with your ip, if the ip doesnt match it will kick the player");
        return 1;
    }
    else
    {
        SendClientMessage(playerid, 0xFFFFFFFF, "Fuck off!");
        Kick(playerid);
    }
    return 1;
}
Reply


Messages In This Thread
Can ? - by [M.A]Angel[M.A] - 31.03.2011, 17:11
Re: Can ? - by Doppeyy - 01.04.2011, 15:13
Re: Can ? - by xir - 01.04.2011, 15:22
Re: Can ? - by kickflipdude - 01.04.2011, 15:24

Forum Jump:


Users browsing this thread: 1 Guest(s)