PedClient

removePedHelmet

REMOVE_PED_HELMET0xA7B2458D0AD6DED8

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

SignatureJavaScript
removePedHelmet(ped: Ped, instantly: boolean): void
SignatureLua
removePedHelmet(ped: Ped, instantly: boolean)

Usage

JavaScript
removePedHelmet(ped, instantly);
Lua
removePedHelmet(ped, instantly)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
instantlyBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Ped PED
In the game
void REMOVE_PED_HELMET(Ped ped, BOOL instantly)
Hash
0xA7B2458D0AD6DED8

Open in the interactive natives reference