ropeDrawEnabled
ROPE_DRAW_ENABLED0xA1AE736541B0FCA3The GTA V native ROPE_DRAW_ENABLED of the PHYSICS namespace, as LS:MP client scripts call it: the global function ropeDrawEnabled, in JavaScript and in Lua.
ropeDrawEnabled(ropeId: number, p1: boolean): voidropeDrawEnabled(ropeId: integer, p1: boolean)⚠
Known issue
The value of ropeId does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours.
Usage
JavaScript
ropeDrawEnabled(ropeId, p1);Lua
ropeDrawEnabled(ropeId, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ropeId | int | number | integer |
p1 | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Physics PHYSICS
- In the game
void ROPE_DRAW_ENABLED(int* ropeId, BOOL p1)- Hash
0xA1AE736541B0FCA3- Introduced
- Game build 1868 legacy numbering