RARI Posted June 26, 2023 Share Posted June 26, 2023 I would like to know how to disable the hunter's rockets and weapons. I'm making a server and I can't find such a thing anywhere. and i have no idea how to do it Link to comment
βurak Posted June 26, 2023 Share Posted June 26, 2023 (edited) addEventHandler("onClientVehicleEnter", root, function(player) local vehicleID = getElementModel(source) if(vehicleID == 425) then toggleControl("vehicle_fire", false) --rockets toggleControl("vehicle_secondary_fire", false) --hunter's minigun end end ) addEventHandler("onClientVehicleExit", root, function(player) local vehicleID = getElementModel(source) if(vehicleID == 425) then toggleControl("vehicle_fire", true) --rockets toggleControl("vehicle_secondary_fire", true) --hunter's minigun end end ) you can do it this way i didn't test it but Edited June 26, 2023 by Burak5312 1 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