Sick of random noobs...
#1

Alright, well since my server is in development, I don't want random retards connecting to my server all the time.

I tried to make a function under OnPlayerConnect(playerid)... but failed.

--.--.--.-- is where my and my friend's IP's go.

pawn Код:
new allowedip[24];
    GetPlayerIp(playerid, allowedip, strlen(allowedip));
    if(allowedip != "--.--.--.--") || if(allowedip != "--.--.--.--")
    {
        Kick(playerid);
    }
Reply


Messages In This Thread
Sick of random noobs... - by Antonio [G-RP] - 02.02.2011, 21:32
Re: Sick of random noobs... - by SWEMike - 02.02.2011, 21:34
Re: Sick of random noobs... - by Antonio [G-RP] - 02.02.2011, 21:35
Re: Sick of random noobs... - by SWEMike - 02.02.2011, 21:43
Re: Sick of random noobs... - by cessil - 02.02.2011, 23:07

Forum Jump:


Users browsing this thread: 1 Guest(s)