getMpLightEnabled
GET_MP_LIGHT_ENABLED0x88274C11CF0D866DThe GTA V native GET_MP_LIGHT_ENABLED of the PED namespace, as LS:MP client scripts call it: the global function getMpLightEnabled, in JavaScript and in Lua.
getMpLightEnabled(ped: Ped): booleangetMpLightEnabled(ped: Ped): booleanUsage
JavaScript
const result = getMpLightEnabled(ped);Lua
local result = getMpLightEnabled(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Ped PED
- In the game
BOOL GET_MP_LIGHT_ENABLED(Ped ped)- Hash
0x88274C11CF0D866D- Introduced
- Game build 1493 legacy numbering
- Formerly
_IS_SCUBA_GEAR_LIGHT_ENABLED