Help me
#1

Guys , can u help me pls , I want to have a Jetpack command like when i write /jetpack i will get a Jetpack "For all Players not only for Admins! . I have search about it and I haven`t found anything .

Thx.
Best Regards.
Reply
#2

Quote:
Originally Posted by *******12
Посмотреть сообщение
Guys , can u help me pls , I want to have a Jetpack command like when i write /jetpack i will get a Jetpack "For all Players not only for Admins! . I have search about it and I haven`t found anything .

Thx.
Best Regards.
if im not mistaken you can just make a pickup for a jetpack? but im not sure if i were you id probally ****** it first. xD
Reply
#3

Isn't there a SetPlayerSpecialAction, or whatever for the jetpack?

SetPlayerSpecialAction(userID, SPECIAL_ACTION_USEJETPACK);
Reply
#4

pawn Код:
COMMAND:jetpack(playerid, params[])
{
    if(IsPlayerAdmin(playerid))
    {
        SetPlayerSpecialAction(userID, SPECIAL_ACTION_USEJETPACK);
    }
    else
    {
        SendClientMessage(playerid, COLOR, "Error: Only admins can use this CMD.");
    }
    return 1;
}
Reply
#5

Quote:
Originally Posted by Onyx
Посмотреть сообщение
pawn Код:
COMMAND:jetpack(playerid, params[])
{
    if(IsPlayerAdmin(playerid))
    {
        SetPlayerSpecialAction(userID, SPECIAL_ACTION_USEJETPACK);
    }
    else
    {
        SendClientMessage(playerid, COLOR, "Error: Only admins can use this CMD.");
    }
    return 1;
}
pawn Код:
COMMAND:jetpack(playerid, params[])
{
    {
        SetPlayerSpecialAction(userID, SPECIAL_ACTION_USEJETPACK);
    }
    return 1;
}
Reply
#6

Thx (Onyx ,admantis) , its works fine.

Best Regards
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)