A Little help, Please
#1

Hello,
I would like this script changed from being a riot shield to armor.
I did a few edits like the /armor and the "[SCRP]: you are not a cop!" and "You are now wearing armor."

pawn Код:
if(strcmp("/armor", cmdtext, true, 10) == 0)//Riot Shield - PaNoULiS
    {
        if(PlayerInfo[playerid][pSFMember] != 1 && PlayerInfo[playerid][pRank] <= 3)
        {
            SendClientMessage(playerid, COLOR_RED, "[SCRP]: Error, You are Not a cop!");
            return 1;
        }
        SendClientMessage(playerid, COLOR_WHITE, "You are Now wearing Armor.");
        GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "** %s grabs a pair of police armor and puts it on.", sendername);
        ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
        PutRiotShieldOnArm(playerid);
        return 1;
    }
Reply


Messages In This Thread
A Little help, Please - by seanny - 13.06.2011, 17:47
Re: A Little help, Please - by King Ace - 13.06.2011, 17:53
Re: A Little help, Please - by seanny - 13.06.2011, 18:23
Re: A Little help, Please - by King Ace - 13.06.2011, 18:34

Forum Jump:


Users browsing this thread: 1 Guest(s)