# WEAPON::MAKE_PED_DROP_WEAPON

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

## Signature

```c
Entity MAKE_PED_DROP_WEAPON(Ped ped, BOOL p1, int attachPoint, BOOL p3, BOOL p4);
```

## Parameters

- `ped` (`Ped`)
- `p1` (`BOOL`)
- `attachPoint` (`int`)
- `p3` (`BOOL`)
- `p4` (`BOOL`)

## Returns

`Entity`

## Description

Old name: _DROP_CURRENT_PED_WEAPON

## Usage

### Lua

```lua
local retval = MakePedDropWeapon(ped, p1, attachPoint, p3, p4)

-- always available, by hash
local retval = Citizen.InvokeNative(0xCEF4C65DE502D367, ped, p1, attachPoint, p3, p4, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = MakePedDropWeapon(ped, p1, attachPoint, p3, p4);

// by hash
const retval = Citizen.invokeNative('0xCEF4C65DE502D367', ped, p1, attachPoint, p3, p4, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0xCEF4C65DE502D367, ped, p1, attachPoint, p3, p4);
```

## Related enums

- [eWeaponAttachPoint](https://natives.borderlinerp.com/enums/eWeaponAttachPoint.md) — 33 values

*Sources: alloc8or RDR3 NativeDB.*
