VehicleClient

setPlanePropellerHealth

SET_PLANE_PROPELLER_HEALTH0x4C815EB175086F84

The 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.

SignatureJavaScript
setPlanePropellerHealth(plane: Vehicle, health: number): boolean
SignatureLua
setPlanePropellerHealth(plane: Vehicle, health: number): boolean

Usage

JavaScript
const result = setPlanePropellerHealth(plane, health);
Lua
local result = setPlanePropellerHealth(plane, health)

Parameters

ParameterTypeJavaScriptLua
planeVehiclenumberinteger
healthfloatnumbernumber

Returns

BOOL JavaScript boolean, Lua boolean

Reference

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

Open in the interactive natives reference