OnVehicleDamage
Jump to navigation
Jump to search
This event is triggered when a vehicle encounters damage.
Parameters
float loss
- loss: A float representing the amount of health the vehicle lost.
Source
The source of this event is the vehicle that got damaged.
Example
This example page lacks an example
--add an example here
See Also
Vehicle events
- onTrailerAttach
- onTrailerDetach
- onVehicleDamage
- onVehicleEnter
- onVehicleExit
- onVehicleExplode
- onVehicleRespawn
- onVehicleStartEnter
- onVehicleStartExit