SetVehicleDamage
From Onset Developer Wiki
Description
Sets the vehicle damage for a specific part/region of the vehicle.
Syntax
SetVehicleDamage(vehicle, damageIndex, damage)
Parameters
- vehicle
Vehicle identifier. - damageIndex
Damage part of the vehicle between 1-8, depending on the vehicle. - damage
Value between 0.0 (no damage) and 1.0 (full damage).
Return Value
- Returns true on success.
Example
__EDIT_ME__
See also
__EDIT_ME__