onClientVehicleDamage

From Liberty Unleashed Wiki
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This event is called when a vehicle is damaged by another entity (usually another vehicle)

Syntax

  1. function onClientVehicleDamage( Vehicle damagedVehicle, Vehicle damager )

Arguments

  • damagedVehicle - The vehicle that was damaged
  • damager - The vehicle which did the damage. Null if it was not a vehicle

Returns

This event does not handle return values.

Example

Some explanation here

This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
  1.  
  2. -- todo
  3.  

Notes

-- List of used functions and other notes here.

Related Events

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox