# NETWORK::GET_MAX_NUM_NETWORK_OBJECTS

- **Hash:** `0xC7BE335216B5EC7C`
- **Namespace:** NETWORK
- **Runtime name (Lua/JS):** `GetMaxNumNetworkObjects`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/NETWORK/GET_MAX_NUM_NETWORK_OBJECTS

## Signature

```c
int GET_MAX_NUM_NETWORK_OBJECTS();
```

## Returns

`int`

## Description

Always returns 60

## Usage

### Lua

```lua
local retval = GetMaxNumNetworkObjects()

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

### JavaScript

```js
const retval = GetMaxNumNetworkObjects();

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

### C#

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

*Sources: alloc8or RDR3 NativeDB.*
