Car fire
#1

Hello everyone,

How can I detect that a car is going on fire? With GetVehicleHealth, or should I work with GetVehicleDamageStatus? And at what value the car is going on fire? I need it for my script.

Thanks

Bas
Reply
#2

Timer would be your best bet. OnPlayerUpdate will work aswell, if you don't have much code to be executed.
Cars go on fire when their health is < 250.0.
Reply
#3

OnVehicleDamageStatusUpdate - 249.0 HP.
Reply
#4

Thank you
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)