Reserved slot?
#4

Код:
public OnPlayerConnect(playerid)
{
        new ip[16];
        GetPlayerIp(playerid, ip, 16);
        if(playerid == MAX_PLAYERS-1 && strcmp(ip, "[your ip here]", true))
        {
                Kick(playerid);
         }
         return 1;
}
Maybe I missed something here, but I guess this is the basic way to do something like this.
Reply


Messages In This Thread
Reserved slot? - by Kep - 21.11.2012, 12:36
Re: Reserved slot? - by Zircon-Hosting - 21.11.2012, 12:38
Re: Reserved slot? - by iTorran - 21.11.2012, 12:57
Re: Reserved slot? - by Danny - 21.11.2012, 13:07
Re: Reserved slot? - by Kyle - 21.11.2012, 14:02
Re: Reserved slot? - by linuxthefish - 21.11.2012, 15:25
Re: Reserved slot? - by Makaveli93 - 21.11.2012, 19:48
Re: Reserved slot? - by ScRaT - 21.11.2012, 20:11
Re: Reserved slot? - by iGetty - 21.11.2012, 21:11

Forum Jump:


Users browsing this thread: 2 Guest(s)