Range ban.
#7

There is no need to create a stock function to execute a single line.
pawn Код:
if(CheckBan(string) == 1 && !dini_Int(file, "Whitelisted"))
    {
        SetPlayerName(playerid, "BannedPlayer");
        SendClientMessage(playerid, COLOR_DARKRED, "{FFFFFF}Your range is banned from this server. Request getting whitelisted in the forums");
        SetTimerEx("KickTime", 200, false, "i", playerid);
        return 1;
    }

//At the bottom of your script:
forward KickTime(playerid);
public KickTime(playerid) return Kick(playerid);
Reply


Messages In This Thread
Range ban. - by Laure - 03.06.2014, 03:25
Re: Range ban. - by Threshold - 03.06.2014, 03:32
Re: Range ban. - by Laure - 03.06.2014, 03:39
Respuesta: Range ban. - by Shura - 03.06.2014, 03:46
Re: Range ban. - by Laure - 03.06.2014, 03:48
Respuesta: Range ban. - by Shura - 03.06.2014, 03:51
Re: Range ban. - by Threshold - 03.06.2014, 03:53

Forum Jump:


Users browsing this thread: 1 Guest(s)