Jetpack id
#1

I'm looking for the JetPack id to give it to myself..how come it is not in the list?
https://sampwiki.blast.hk/wiki/Weapons
Reply
#2

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

I believe you need this function, good Sir: https://sampwiki.blast.hk/wiki/SetPlayerSpecialAction

randomkid was first :<
Reply
#4

Jetpack ID is 370.
Reply
#5

Do you mean the weaponid?
It is 19.
Reply
#6

One problem with..
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USEJETPACK);

Instead of holding the jetpack handles the player is just "standing" in air..like with arms straight.
Reply
#7

Yes, if I am correct, that is how CJ holds onto the jetpack, and the legs sway and such, because that is an animation. You have to attach the ID of the jetpack to the player.
Reply
#8

Thats the idea, the player dosen't hold onto it.
Reply
#9

I think you can find that here
Reply
#10

Jetpack is a special action "2".
Code:
SetPlayerSpecialAction( playerid, 2 ); // Use jetpack.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)