setDriveArticulatedJointWithInflictor
SET_DRIVE_ARTICULATED_JOINT_WITH_INFLICTOR0xB20834A7DD3D8896The 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.
setDriveArticulatedJointWithInflictor(
object: Object,
toggle: boolean,
p2: number,
ped: Ped
): voidsetDriveArticulatedJointWithInflictor(
object: Object,
toggle: boolean,
p2: integer,
ped: Ped
)Usage
JavaScript
setDriveArticulatedJointWithInflictor(object, toggle, p2, ped);Lua
setDriveArticulatedJointWithInflictor(object, toggle, p2, ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
object | Object | number | integer |
toggle | BOOL | boolean | boolean |
p2 | int | number | integer |
ped | Ped | number | integer |
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