tiesjan Posted September 4, 2011 Share Posted September 4, 2011 i want to make a commands like /neverblow to make your current vehicle indestructible but i don't know how and i can't find it in the wiki either.. the function is SetVehicleDamageProof please help or add a good example Link to comment
JR10 Posted September 4, 2011 Share Posted September 4, 2011 addCommandHandler("neverblow", function(player, cmd) if not isPedInVehicle ( player ) then return end local veh = getPedOccupiedVehicle(player) if not veh then return end setVehicleDamageProof ( veh, true ) end) 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