Does this idea have any cons?
#1

pawn Код:
public OnPlayerUpdate(playerid)
{
    if(GetPlayerAnimationIndex(playerid))
    {
        new animlib[32],animname[32],acstring[128], acxstring[128], acname[MAX_PLAYER_NAME];
        GetPlayerName(playerid, acname, sizeof(acname));
        GetAnimationName(GetPlayerAnimationIndex(playerid), animlib, 32, animname, 32);
        if(strcmp(animlib, "PED", true) == 0)
        {
            if(strcmp(animname, "RUN_PLAYER", true) == 0 && UserStats[playerid][Admin] <= 0)
            {
                format(acxstring, 128, "Player %s[%d] has been banned for use of ******", acname, playerid);
                SendClientMessageToAll(RED, acstring);
                BanEx(playerid, "CJ Run");
            }
        }
    }
    return 1;
}
Does this idea have any cons?
Reply


Messages In This Thread
Does this idea have any cons? - by Warmachine - 04.12.2011, 18:32
Re: Does this idea have any cons? - by Ash. - 04.12.2011, 18:34
Re: Does this idea have any cons? - by Warmachine - 04.12.2011, 18:36
Re: Does this idea have any cons? - by Ash. - 04.12.2011, 18:56
Re: Does this idea have any cons? - by Sascha - 04.12.2011, 18:58
Re: Does this idea have any cons? - by robintjeh - 04.12.2011, 19:06
Re: Does this idea have any cons? - by Sascha - 04.12.2011, 19:09
Re: Does this idea have any cons? - by Warmachine - 05.12.2011, 08:00
Re: Does this idea have any cons? - by Hiddos - 05.12.2011, 08:24
Re: Does this idea have any cons? - by Mauzen - 05.12.2011, 08:27

Forum Jump:


Users browsing this thread: 1 Guest(s)