OnVehicleTakeDamage?
#1

Any function that does this?

if a vehicle take damage, cause i wanted to add this type of feature to my roleplay server: when a car takes "int" damage, their engine gets temporarily broken. So is there any default function for this? or is it a custom one? please answer me asap i need this.
Reply
#2

I think you are talking about OnVehicleDamageStatusUpdate
Reply
#3

i saw that, i just need help if this car get -40 damage, it will not be able to move for 5 minutes.
Reply
#4

Then you can use GetVehicleHealth and get the vehicle health and once it reaches 40, freeze the player and set the timer to unfreeze for 5 minutes
Reply
#5

no i meant if the car loses 40 damage at one crash, it will continue to the next codes
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)