knockOffPedProp
KNOCK_OFF_PED_PROP0x6FD7816A36615F48The GTA V native KNOCK_OFF_PED_PROP of the PED namespace, as LS:MP client scripts call it: the global function knockOffPedProp, in JavaScript and in Lua.
knockOffPedProp(
ped: Ped,
p1: boolean,
p2: boolean,
p3: boolean,
p4: boolean
): voidknockOffPedProp(
ped: Ped,
p1: boolean,
p2: boolean,
p3: boolean,
p4: boolean
)Usage
JavaScript
knockOffPedProp(ped, p1, p2, p3, p4);Lua
knockOffPedProp(ped, p1, p2, p3, p4)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
p1 | BOOL | boolean | boolean |
p2 | BOOL | boolean | boolean |
p3 | BOOL | boolean | boolean |
p4 | BOOL | boolean | boolean |
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 KNOCK_OFF_PED_PROP(Ped ped, BOOL p1, BOOL p2, BOOL p3, BOOL p4)- Hash
0x6FD7816A36615F48