OnVehicleDamage: Difference between revisions
Jump to navigation
Jump to search
JonChappell (talk | contribs) No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{Server event}} | |||
This event is triggered when a vehicle encounters damage. | This event is triggered when a vehicle encounters damage. | ||
== | ==Parameters== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
float loss | |||
</syntaxhighlight> | </syntaxhighlight> | ||
*'''loss''': A float representing the amount of health the vehicle lost. | |||
==Example== | ==Example== | ||
This example | This example page lacks an example | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
-- | --add an example here | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==See Also== | |||
{{Event_functions}} | |||
[[Category:Needs Example]] |
Revision as of 15:09, 22 October 2007
This event is triggered when a vehicle encounters damage.
Parameters
float loss
- loss: A float representing the amount of health the vehicle lost.
Example
This example page lacks an example
--add an example here