Make only specific players can join
#2

You can use this:
Код:
stock pName(playerid)
{
    new n[25];
    GetPlayerName(playerid,n,sizeof(n));
    return n;
}

public OnPlayerConnect(playerid)
{
    if(strcmp(pName(playerid),"Nick1") || 
    strcmp(pName(playerid),"Nick2")    ||
    strcmp(pName(playerid),"Nick3")     )
    {
        Kick(playerid);
    }
    return 1;
}
Or make a whitelist using news.
Reply


Messages In This Thread
Make only specific players can join - by PowerF - 01.04.2018, 07:57
Re: Make only specific players can join - by Gameluner - 01.04.2018, 08:28
Re: Make only specific players can join - by PowerF - 01.04.2018, 09:12
Re: Make only specific players can join - by Gameluner - 01.04.2018, 09:22
Re: Make only specific players can join - by PowerF - 01.04.2018, 13:09
Re: Make only specific players can join - by Gameluner - 02.04.2018, 15:27

Forum Jump:


Users browsing this thread: 1 Guest(s)