PedClient

isPedHelmetVisorUp

IS_PED_HELMET_VISOR_UP0xB9496CE47546DB2C

The GTA V native IS_PED_HELMET_VISOR_UP of the PED namespace, as LS:MP client scripts call it: the global function isPedHelmetVisorUp, in JavaScript and in Lua.

SignatureJavaScript
isPedHelmetVisorUp(ped: Ped): boolean
SignatureLua
isPedHelmetVisorUp(ped: Ped): boolean

Usage

JavaScript
const result = isPedHelmetVisorUp(ped);
Lua
local result = isPedHelmetVisorUp(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL IS_PED_HELMET_VISOR_UP(Ped ped)
Hash
0xB9496CE47546DB2C
Introduced
Game build 791 legacy numbering
Formerly
_IS_PED_HELMET_UNK

Open in the interactive natives reference