isRopeAttachedAtBothEnds
IS_ROPE_ATTACHED_AT_BOTH_ENDS0x84DE3B5FB3E666F0The GTA V native IS_ROPE_ATTACHED_AT_BOTH_ENDS of the PHYSICS namespace, as LS:MP client scripts call it: the global function isRopeAttachedAtBothEnds, in JavaScript and in Lua.
isRopeAttachedAtBothEnds(ropeId: number): booleanisRopeAttachedAtBothEnds(ropeId: integer): 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
const result = isRopeAttachedAtBothEnds(ropeId);Lua
local result = isRopeAttachedAtBothEnds(ropeId)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ropeId | int | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Physics PHYSICS
- In the game
BOOL IS_ROPE_ATTACHED_AT_BOTH_ENDS(int* ropeId)- Hash
0x84DE3B5FB3E666F0