getHeliMainRotorHealth
GET_HELI_MAIN_ROTOR_HEALTH0xE4CB7541F413D2C5The GTA V native GET_HELI_MAIN_ROTOR_HEALTH of the VEHICLE namespace, as LS:MP client scripts call it: the global function getHeliMainRotorHealth, in JavaScript and in Lua.
getHeliMainRotorHealth(vehicle: Vehicle): numbergetHeliMainRotorHealth(vehicle: Vehicle): numberUsage
JavaScript
const value = getHeliMainRotorHealth(vehicle);Lua
local value = getHeliMainRotorHealth(vehicle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
Returns
float JavaScript number, Lua numberNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Max 1000.
At 0 the main rotor will stall.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
float GET_HELI_MAIN_ROTOR_HEALTH(Vehicle vehicle)- Hash
0xE4CB7541F413D2C5- Formerly
_GET_HELI_MAIN_ROTOR_HEALTH