PedClient

knockOffPedProp

KNOCK_OFF_PED_PROP0x6FD7816A36615F48

The 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.

SignatureJavaScript
knockOffPedProp(
  ped: Ped,
  p1: boolean,
  p2: boolean,
  p3: boolean,
  p4: boolean
): void
SignatureLua
knockOffPedProp(
  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

ParameterTypeJavaScriptLua
pedPednumberinteger
p1BOOLbooleanboolean
p2BOOLbooleanboolean
p3BOOLbooleanboolean
p4BOOLbooleanboolean

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

Open in the interactive natives reference