doesScriptOwnRope
DOES_SCRIPT_OWN_ROPE0x271C9D3ACA5D6409The GTA V native DOES_SCRIPT_OWN_ROPE of the PHYSICS namespace, as LS:MP client scripts call it: the global function doesScriptOwnRope, in JavaScript and in Lua.
doesScriptOwnRope(ropeId: number): booleandoesScriptOwnRope(ropeId: integer): booleanUsage
JavaScript
const result = doesScriptOwnRope(ropeId);Lua
local result = doesScriptOwnRope(ropeId)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ropeId | int | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Physics PHYSICS
- In the game
BOOL DOES_SCRIPT_OWN_ROPE(int ropeId)- Hash
0x271C9D3ACA5D6409- Formerly
_DOES_ROPE_BELONG_TO_THIS_SCRIPT