PedClient

isCurrentHeadPropAHelmet

IS_CURRENT_HEAD_PROP_A_HELMET0xF2385935BFFD4D92

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

SignatureJavaScript
isCurrentHeadPropAHelmet(p0: any): boolean
SignatureLua
isCurrentHeadPropAHelmet(p0: any): boolean

Usage

JavaScript
const result = isCurrentHeadPropAHelmet(p0);
Lua
local result = isCurrentHeadPropAHelmet(p0)

Parameters

ParameterTypeJavaScriptLua
p0Anyanyany

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL IS_CURRENT_HEAD_PROP_A_HELMET(Any p0)
Hash
0xF2385935BFFD4D92

Open in the interactive natives reference