[Help] Jatpack
#1

How can I make command to give Jatpack ?

I think I know how to start but i don't know how to finish cmd...

I have this cmd for Admins, but with this cmd only admin can spawn Jatpack to him

pawn Код:
if(strcmp(cmd,"/jetpack",true)==0)
    {
        if(IsPlayerConnected(playerid))
        {
            if (PlayerInfo[playerid][pAdmin] >= 4)
            {
                SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK);
                SendClientMessage(playerid, COLOR_LIGHTBLUE, "Enjoy the jetpack!");
                return 1;
            }
            else
            {
                SendClientMessage(playerid, COLOR_GRAD1, "   You are not authorized to use that command!");
                return 1;
            }
        }
    }
And I wanna make That only player who's admin lvl4 can give jatpack to player... But im confuzed when I try to make that script... :S
Reply


Messages In This Thread
[Help] Jatpack - by Alex_Valde - 13.09.2010, 20:32
Re: [Help] Jatpack - by Cameltoe - 13.09.2010, 20:39
Re: [Help] Jatpack - by Alex_Valde - 13.09.2010, 21:19
Re: [Help] Jatpack - by Cameltoe - 13.09.2010, 21:44

Forum Jump:


Users browsing this thread: 1 Guest(s)