PhysicsClient

doesRopeExist

DOES_ROPE_EXIST0xFD5448BE3111ED96

The GTA V native DOES_ROPE_EXIST of the PHYSICS namespace, as LS:MP client scripts call it: the global function doesRopeExist, in JavaScript and in Lua.

SignatureJavaScript
doesRopeExist(ropeId: number): boolean
SignatureLua
doesRopeExist(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 = doesRopeExist(ropeId);
Lua
local result = doesRopeExist(ropeId)

Parameters

ParameterTypeJavaScriptLua
ropeIdintnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Physics PHYSICS
In the game
BOOL DOES_ROPE_EXIST(int* ropeId)
Hash
0xFD5448BE3111ED96

Open in the interactive natives reference