OnPlayerConnect Ban kicker.
#1

i scripted a account ban kicker but didn't works.can help me solve to make this works.
And i put this under my OnPlayerConnect
pawn Код:
if(PlayerInfo[playerid][pBan] >= 1)
    {
        new id,string2[124], string1[125];
        format(string2, sizeof(string2), "SERVER:You Have been kicked.Reason:Account Still Banned.");
        SendClientMessage(playerid,COLOR_RED,string2);
        format(string1, sizeof(string1), "SERVER:%s Have been kicked.Reason:Account Still Banned.", GetPlayerNameEx(id));
        SendClientMessageToAll(COLOR_RED,string1);
        Kick(id);
        return 1;
    }
Reply


Messages In This Thread
OnPlayerConnect Ban kicker. - by zionx08 - 04.12.2012, 06:51
Re: OnPlayerConnect Ban kicker. - by Bicentric - 04.12.2012, 06:59
Re: OnPlayerConnect Ban kicker. - by RajatPawar - 04.12.2012, 07:00
Re: OnPlayerConnect Ban kicker. - by Nirzor - 04.12.2012, 07:02
Re: OnPlayerConnect Ban kicker. - by zionx08 - 04.12.2012, 07:07
Re: OnPlayerConnect Ban kicker. - by zionx08 - 04.12.2012, 07:18
Re: OnPlayerConnect Ban kicker. - by cosbraa - 04.12.2012, 07:22
Re: OnPlayerConnect Ban kicker. - by zionx08 - 04.12.2012, 07:27
Re: OnPlayerConnect Ban kicker. - by zionx08 - 04.12.2012, 07:29
Re: OnPlayerConnect Ban kicker. - by Bicentric - 04.12.2012, 15:23

Forum Jump:


Users browsing this thread: 2 Guest(s)