ObjectClient

setDriveArticulatedJointWithInflictor

SET_DRIVE_ARTICULATED_JOINT_WITH_INFLICTOR0xB20834A7DD3D8896

The GTA V native SET_DRIVE_ARTICULATED_JOINT_WITH_INFLICTOR of the OBJECT namespace, as LS:MP client scripts call it: the global function setDriveArticulatedJointWithInflictor, in JavaScript and in Lua.

SignatureJavaScript
setDriveArticulatedJointWithInflictor(
  object: Object,
  toggle: boolean,
  p2: number,
  ped: Ped
): void
SignatureLua
setDriveArticulatedJointWithInflictor(
  object: Object,
  toggle: boolean,
  p2: integer,
  ped: Ped
)

Usage

JavaScript
setDriveArticulatedJointWithInflictor(object, toggle, p2, ped);
Lua
setDriveArticulatedJointWithInflictor(object, toggle, p2, ped)

Parameters

ParameterTypeJavaScriptLua
objectObjectnumberinteger
toggleBOOLbooleanboolean
p2intnumberinteger
pedPednumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Object OBJECT
In the game
void SET_DRIVE_ARTICULATED_JOINT_WITH_INFLICTOR(Object object, BOOL toggle, int p2, Ped ped)
Hash
0xB20834A7DD3D8896
Introduced
Game build 1604 legacy numbering
Formerly
_SET_ENABLE_ARENA_PROP_PHYSICS_ON_PED

Open in the interactive natives reference