NadhmiNK Posted May 29, 2016 Share Posted May 29, 2016 Hi so i was wondering, if you notice when u go to the airport and and fall vertically to the ground from a great distance, your vehicle will basically get no damage. I thought that the object used didn't allow getting damage ( for instance id 5002 ) but sadly i was wrong. So, i'm asking if such thing can be accomplished via scripting. I don't want something like: setVehicleDamageProof(vehicle, true) I just want the players' vehicles to avoid getting damage when falling to the ground ( model 6959 for example) I tried onClientVehicleCollision but couldn't do it. Any help is appreciated Link to comment
NadhmiNK Posted June 3, 2016 Author Share Posted June 3, 2016 is there anyone can help me? Link to comment
iMr.WiFi..! Posted June 3, 2016 Share Posted June 3, 2016 if ( getElementHealth ( Element ) ~= 1000 ) then setElementHealth(Element,1000) Link to comment
Gravestone Posted June 4, 2016 Share Posted June 4, 2016 Define element through getPedOccupiedVehicle. Link to comment
Anubhav Posted June 4, 2016 Share Posted June 4, 2016 Define element through getPedOccupiedVehicle. are you blind? he was giving a example, but that won't help either. I have no idea how to do this and editing of the example and making defining element should be done by the @OP. Link to comment
Gravestone Posted June 4, 2016 Share Posted June 4, 2016 And who was I telling it to? 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