# NETWORK::GET_NUM_RESERVED_MISSION_OBJECTS

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

## Signature

```c
int GET_NUM_RESERVED_MISSION_OBJECTS(BOOL p0);
```

## Parameters

- `p0` (`BOOL`)

## Returns

`int`

## Description

p0 appears to be for MP

## Usage

### Lua

```lua
local retval = GetNumReservedMissionObjects(p0)

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

### JavaScript

```js
const retval = GetNumReservedMissionObjects(p0);

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

### C#

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

*Sources: alloc8or RDR3 NativeDB.*
