iFerasMO Posted March 12, 2015 Share Posted March 12, 2015 (edited) edited Edited March 13, 2015 by Guest Link to comment
Dimmitry007 Posted March 12, 2015 Share Posted March 12, 2015 addEventHandler ( "onVehicleStartExit", getRootElement(), exitVehicle ) Link to comment
Dealman Posted March 12, 2015 Share Posted March 12, 2015 Well you're not telling it to do otherwise, you're only checking if they're in a vehicle and the model. Of course it's still gonna fire so long as the model ID is the same - the script won't magically understand what to do. One solution would be to use element data, set the element data on the vehicle with a gun to true - and only fire it if the current vehicle has that value set to true - and the player is inside that vehicle. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now