Jetpack
#1

How can I make a command like /jetpack,that will give the player a jetpack?
Reply
#2

Im not sure if this will work.

pawn Code:
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USEJETPACK);
Reply
#3

Quote:
Originally Posted by FreeSoul
How can I make a command like /jetpack,that will give the player a jetpack?
get the player pos, than spawn a jetpack (as pickup else it wont work) than fly around.

pawn Code:
if(strcmp(cmdtext,"/jetpack",true) == 0)
    {
        new Float:X,Float:Y,Float:Z;
        GetPlayerPos(playerid,X,Y,Z);
        CreatePickup(370,2,X,Y,Z);
        SendClientMessage(playerid, COLOR_GREY, "* Spawned jetpack");
        return 1;
    }
Reply


Forum Jump:


Users browsing this thread: