# WEAPON::SET_ALLOW_ANY_WEAPON_DROP

- **Hash:** `0x78030C7867D8B9B6`
- **Namespace:** WEAPON
- **Runtime name (Lua/JS):** `SetAllowAnyWeaponDrop`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/WEAPON/SET_ALLOW_ANY_WEAPON_DROP

## Signature

```c
void SET_ALLOW_ANY_WEAPON_DROP(Ped ped, BOOL toggle);
```

## Parameters

- `ped` (`Ped`)
- `toggle` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
SetAllowAnyWeaponDrop(ped, toggle)

-- always available, by hash
Citizen.InvokeNative(0x78030C7867D8B9B6, ped, toggle)
```

### JavaScript

```js
SetAllowAnyWeaponDrop(ped, toggle);

// by hash
Citizen.invokeNative('0x78030C7867D8B9B6', ped, toggle);
```

### C#

```csharp
Function.Call((Hash)0x78030C7867D8B9B6, ped, toggle);
```

*Sources: alloc8or RDR3 NativeDB.*
