Question = Vehicle Damage -
Money_Man - 16.11.2011
Guy's i know there is a FS out that deals with this. say if your car crashes into something and it has enough damage it shuts off the car. but i can't remember what its called. i done a search for something like "Vehicle Damage" but it wasn't in the search topics.
Thanks and any help is great
Re: Question = Vehicle Damage -
Yuryfury - 16.11.2011
1.Set a timer
2. Get the vehicle health
3. If it is less than a certain value, freeze the vehicle/player.
Re: Question = Vehicle Damage -
XGh0stz - 16.11.2011
While that is one solution to the problem at hand, I don't think that is what he's looking for. Shutting down the car probably meaning shutting off the engine. SetVehicleParams or something? I believe that is the function you are looking for (Someone please correct me if that function is incorrect though). But simply search the Wiki for every function to easily find that certain function plus alot more useful ones...
Also: This should've been posted in Scripting Discussion
AW: Question = Vehicle Damage -
Babul - 16.11.2011
maybe having a look @
https://sampwiki.blast.hk/wiki/OnVehicleDamageStatusUpdate points you into the rioght direction...
Re: Question = Vehicle Damage -
Money_Man - 16.11.2011
No its a FS already made. i just can't remember the name of it to find it
Re: Question = Vehicle Damage -
Dark734 - 16.11.2011
Make it. It's not hard.