setDriveArticulatedJoint
SET_DRIVE_ARTICULATED_JOINT0x911024442F4898F0The GTA V native SET_DRIVE_ARTICULATED_JOINT of the OBJECT namespace, as LS:MP client scripts call it: the global function setDriveArticulatedJoint, in JavaScript and in Lua.
setDriveArticulatedJoint(object: Object, toggle: boolean, p2: number): voidsetDriveArticulatedJoint(object: Object, toggle: boolean, p2: integer)Usage
JavaScript
setDriveArticulatedJoint(object, toggle, p2);Lua
setDriveArticulatedJoint(object, toggle, p2)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
object | Object | number | integer |
toggle | BOOL | boolean | boolean |
p2 | int | number | integer |
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.
Activate the physics to: "xs_prop_arena_{flipper,wall,bollard,turntable,pit}"
Reference
- Namespace
- Object OBJECT
- In the game
void SET_DRIVE_ARTICULATED_JOINT(Object object, BOOL toggle, int p2)- Hash
0x911024442F4898F0- Introduced
- Game build 1604 legacy numbering
- Formerly
_SET_ENABLE_ARENA_PROP_PHYSICS