# WEAPON::_REMOVE_AMMO_FROM_PED

- **Hash:** `0xF4823C813CB8277D`
- **Namespace:** WEAPON
- **Runtime name (Lua/JS):** `RemoveAmmoFromPed`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/WEAPON/_REMOVE_AMMO_FROM_PED

## Signature

```c
void _REMOVE_AMMO_FROM_PED(Ped ped, Hash weaponHash, int amount, Hash removeReason);
```

## Parameters

- `ped` (`Ped`)
- `weaponHash` (`Hash`)
- `amount` (`int`)
- `removeReason` (`Hash`)

## Returns

`void`

## Description

removeReason must be REMOVE_REASON_USED, REMOVE_REASON_GIVEN, REMOVE_REASON_DROPPED or REMOVE_REASON_DEBUG, unless amount is -1

removeReason: see REMOVE_WEAPON_FROM_PED

## Usage

### Lua

```lua
RemoveAmmoFromPed(ped, weaponHash, amount, removeReason)

-- always available, by hash
Citizen.InvokeNative(0xF4823C813CB8277D, ped, weaponHash, amount, removeReason)
```

### JavaScript

```js
RemoveAmmoFromPed(ped, weaponHash, amount, removeReason);

// by hash
Citizen.invokeNative('0xF4823C813CB8277D', ped, weaponHash, amount, removeReason);
```

### C#

```csharp
Function.Call((Hash)0xF4823C813CB8277D, ped, weaponHash, amount, removeReason);
```

- Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat("name")` or a backtick literal like `` `name` ``.
- 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.

*Sources: alloc8or RDR3 NativeDB.*
