# CFX::DOOR_SYSTEM_GET_SIZE

- **Hash:** `0x237613B3`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `DoorSystemGetSize`
- **Side:** client (Cfx runtime native)
- **Name status:** official
- **Documentation:** named only
- **URL:** https://natives.borderlinerp.com/natives/CFX/DOOR_SYSTEM_GET_SIZE

## Signature

```c
int DOOR_SYSTEM_GET_SIZE();
```

## Returns

`int` — The number of doors registered in the system

## Usage

### Lua

```lua
local retval = DoorSystemGetSize()

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

### JavaScript

```js
const retval = DoorSystemGetSize();

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

### C#

```csharp
int retval = Function.Call<int>((Hash)0x237613b3);
```

*Sources: Cfx.re native reference.*
