Posts: 162
Threads: 5
Joined: Oct 2012
Reputation:
0
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE); ?
Posts: 351
Threads: 22
Joined: Oct 2012
Reputation:
0
Hmm as far as i know i think thats not possible as thats not an object nor a pickup that can be removed . There might be some solution ...
Posts: 531
Threads: 72
Joined: Mar 2012
Reputation:
0
okayy then. Thanks for your comments but might as well use /exitjp instead.
Posts: 3,085
Threads: 37
Joined: Nov 2012
Reputation:
0
Well, you can't remove the jetpack by detecting a key, as it is already hard coded into GTA, so it will probably already take effect before OnPlayerKeyStateChange is even called. You can do it by command however, which is basically your only option, or you could try making an alternative key bind, like the crouch key or something? I'm fairly sure by setting the players position it removes the jetpack.