setPlanePropellerHealth
SET_PLANE_PROPELLER_HEALTH0x4C815EB175086F84The GTA V native SET_PLANE_PROPELLER_HEALTH of the VEHICLE namespace, as LS:MP client scripts call it: the global function setPlanePropellerHealth, in JavaScript and in Lua.
setPlanePropellerHealth(plane: Vehicle, health: number): booleansetPlanePropellerHealth(plane: Vehicle, health: number): booleanUsage
JavaScript
const result = setPlanePropellerHealth(plane, health);Lua
local result = setPlanePropellerHealth(plane, health)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
plane | Vehicle | number | integer |
health | float | number | number |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Vehicle VEHICLE
- In the game
BOOL SET_PLANE_PROPELLER_HEALTH(Vehicle plane, float health)- Hash
0x4C815EB175086F84- Introduced
- Game build 1103 legacy numbering
- Formerly
_SET_PLANE_PROPELLERS_HEALTH