PhysicsClient

detachRopeFromEntity

DETACH_ROPE_FROM_ENTITY0xBCF3026912A8647D

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

SignatureJavaScript
detachRopeFromEntity(ropeId: number, entity: Entity): void
SignatureLua
detachRopeFromEntity(ropeId: integer, entity: Entity)

Usage

JavaScript
detachRopeFromEntity(ropeId, entity);
Lua
detachRopeFromEntity(ropeId, entity)

Parameters

ParameterTypeJavaScriptLua
ropeIdintnumberinteger
entityEntitynumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Physics PHYSICS
In the game
void DETACH_ROPE_FROM_ENTITY(int ropeId, Entity entity)
Hash
0xBCF3026912A8647D

Open in the interactive natives reference