# PHYSICS::GET_ROPE_VERTEX_COUNT

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

## Signature

```c
int GET_ROPE_VERTEX_COUNT(int ropeId);
```

## Parameters

- `ropeId` (`int`)

## Returns

`int`

## Usage

### Lua

```lua
local retval = GetRopeVertexCount(ropeId)

-- always available, by hash
local retval = Citizen.InvokeNative(0x3655F544CD30F0B5, ropeId, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = GetRopeVertexCount(ropeId);

// by hash
const retval = Citizen.invokeNative('0x3655F544CD30F0B5', ropeId, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0x3655F544CD30F0B5, ropeId);
```

*Sources: alloc8or RDR3 NativeDB.*
