detachRopeFromEntity
DETACH_ROPE_FROM_ENTITY0xBCF3026912A8647DThe 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.
detachRopeFromEntity(ropeId: number, entity: Entity): voiddetachRopeFromEntity(ropeId: integer, entity: Entity)Usage
JavaScript
detachRopeFromEntity(ropeId, entity);Lua
detachRopeFromEntity(ropeId, entity)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ropeId | int | number | integer |
entity | Entity | number | integer |
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