# PHYSICS::DELETE_ROPE

- **Hash:** `0x52B4829281364649`
- **Namespace:** PHYSICS
- **Runtime name (Lua/JS):** `DeleteRope`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PHYSICS/DELETE_ROPE

## Signature

```c
void DELETE_ROPE(int* ropeId);
```

## Parameters

- `ropeId` (`int*`)

## Returns

`void`

## Usage

### Lua

```lua
local ropeId = DeleteRope(ropeId)

-- always available, by hash
local ropeId = Citizen.InvokeNative(0x52B4829281364649, Citizen.PointerValueIntInitialized(ropeId))
```

### JavaScript

```js
const ropeId = DeleteRope(ropeId);

// by hash
const ropeId = Citizen.invokeNative('0x52B4829281364649', Citizen.pointerValueIntInitialized(ropeId));
```

### C#

```csharp
var ropeId = new OutputArgument();
Function.Call((Hash)0x52B4829281364649, ropeId);
// ropeId.GetResult<int>()
```

- The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.

*Sources: alloc8or RDR3 NativeDB.*
