PedClient

clearPedProp

CLEAR_PED_PROP0x0943E5B8E078E76E

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

SignatureJavaScript
clearPedProp(ped: Ped, propId: number, p2: any): void
SignatureLua
clearPedProp(ped: Ped, propId: integer, p2: any)

Usage

JavaScript
clearPedProp(ped, propId, p2);
Lua
clearPedProp(ped, propId, p2)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
propIdintnumberinteger
p2Anyanyany

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

List of component/props ID
gtaxscripting.blogspot.com/2016/04/gta-v-peds-component-and-props.html

Reference

Namespace
Ped PED
In the game
void CLEAR_PED_PROP(Ped ped, int propId, Any p2)
Hash
0x0943E5B8E078E76E

Open in the interactive natives reference