OnVehicleDamage: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:


*'''loss''': A float representing the amount of health the vehicle lost.
*'''loss''': A float representing the amount of health the vehicle lost.
==Source==
The [[event system#Event source|source]] of this event is the [[vehicle]] that got damaged.


==Example==  
==Example==  

Revision as of 05:59, 30 December 2007

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