clearPedProp
CLEAR_PED_PROP0x0943E5B8E078E76EThe 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.
clearPedProp(ped: Ped, propId: number, p2: any): voidclearPedProp(ped: Ped, propId: integer, p2: any)Usage
JavaScript
clearPedProp(ped, propId, p2);Lua
clearPedProp(ped, propId, p2)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
propId | int | number | integer |
p2 | Any | any | any |
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