# CAMERA::DESTROY_ALL_CAMS

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

## Signature

```c
void DESTROY_ALL_CAMS(BOOL p0);
```

## Parameters

- `p0` (`BOOL`)

## Returns

`void`

## Description

BOOL param indicates whether the cam should be destroyed if it belongs to the calling script.

## Usage

### Lua

```lua
DestroyAllCams(p0)

-- always available, by hash
Citizen.InvokeNative(0x163600D6E136C9F8, p0)
```

### JavaScript

```js
DestroyAllCams(p0);

// by hash
Citizen.invokeNative('0x163600D6E136C9F8', p0);
```

### C#

```csharp
Function.Call((Hash)0x163600D6E136C9F8, p0);
```

*Sources: alloc8or RDR3 NativeDB.*
