Posts: 207
Threads: 53
Joined: Dec 2013
Reputation:
0
Hello so recently I've made a jetpack cmd for admins only and when I use the jetpack and I press enter the jetpack floats in the air like in single player mode and I believe anyone can use it but I want to stop that I want it so that after I press enter it disappears can anyone help please?
Posts: 4
Threads: 1
Joined: May 2010
Reputation:
0
im not sure about jetpacks but does them have a vehicle id? if jes OnPlayerExitVehicle is your method.
Posts: 3,085
Threads: 37
Joined: Nov 2012
Reputation:
0
The jetpack cannot be seen by anyone else as far as I know. I also know that this isn't possible, because the jetpack is removed as a native feature of GTA. Therefore, that will be called before any possible callback including OnPlayerKeyStateChange. So either use a command or different button to remove the jetpack scriptwise, you cannot change this by using the 'F' or 'Return' button.