# POPULATION::_REMOVE_AMBIENT_SPAWN_RESTRICTION

- **Hash:** `0xA1CFB35069D23C23`
- **Namespace:** POPULATION
- **Runtime name (Lua/JS):** `RemoveAmbientSpawnRestriction`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/POPULATION/_REMOVE_AMBIENT_SPAWN_RESTRICTION

## Signature

```c
void _REMOVE_AMBIENT_SPAWN_RESTRICTION(Volume volume);
```

## Parameters

- `volume` (`Volume`)

## Returns

`void`

## Usage

### Lua

```lua
RemoveAmbientSpawnRestriction(volume)

-- always available, by hash
Citizen.InvokeNative(0xA1CFB35069D23C23, volume)
```

### JavaScript

```js
RemoveAmbientSpawnRestriction(volume);

// by hash
Citizen.invokeNative('0xA1CFB35069D23C23', volume);
```

### C#

```csharp
Function.Call((Hash)0xA1CFB35069D23C23, volume);
```

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

## See also

- [POPULATION::_ADD_AMBIENT_SPAWN_RESTRICTION](https://natives.borderlinerp.com/natives/POPULATION/_ADD_AMBIENT_SPAWN_RESTRICTION.md)

*Sources: alloc8or RDR3 NativeDB.*
