Problems with banning.
#6

Put this under OnPlayerConnect
pawn Код:
if(PlayerInfo[playerid][pBanned] == 1)
{
        SendClientMessage(playerid, WHITE, "You're banned from the server.");
        Kick(playerid);
        return 1;
}
This if the account is banned, You gotta make it with your variables/defines for the IP check if its banned or not!
Reply


Messages In This Thread
Problems with banning. - by RiChArD_A - 07.06.2013, 21:18
Re: Problems with banning. - by DaTa[X] - 07.06.2013, 21:20
Re: Problems with banning. - by Red_Dragon. - 07.06.2013, 21:22
AW: Problems with banning. - by HurtLocker - 07.06.2013, 21:38
Re: AW: Problems with banning. - by RiChArD_A - 07.06.2013, 22:01
Re: Problems with banning. - by Kalladel - 08.06.2013, 00:53

Forum Jump:


Users browsing this thread: 1 Guest(s)