OnVehicleDamage: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (See Also for server events) |
||
Line 19: | Line 19: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{See also/Server event|Vehicle events}} | |||
{{ | |||
[[Category:Needs Example]] | [[Category:Needs Example]] |
Revision as of 17:53, 12 January 2008
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