PhysicsClient

deleteRope

DELETE_ROPE0x52B4829281364649

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

SignatureJavaScript
deleteRope(ropeId: number): void
SignatureLua
deleteRope(ropeId: integer)
⚠
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
deleteRope(ropeId);
Lua
deleteRope(ropeId)

Parameters

ParameterTypeJavaScriptLua
ropeIdintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Physics PHYSICS
In the game
void DELETE_ROPE(int* ropeId)
Hash
0x52B4829281364649

Open in the interactive natives reference