# WEAPON::_DISABLE_AMMO_TYPE_FOR_PED

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

## Signature

```c
void _DISABLE_AMMO_TYPE_FOR_PED(Ped ped, Hash ammoHash);
```

## Parameters

- `ped` (`Ped`)
- `ammoHash` (`Hash`)

## Returns

`void`

## Usage

### Lua

```lua
DisableAmmoTypeForPed(ped, ammoHash)

-- always available, by hash
Citizen.InvokeNative(0xAA5A52204E077883, ped, ammoHash)
```

### JavaScript

```js
DisableAmmoTypeForPed(ped, ammoHash);

// by hash
Citizen.invokeNative('0xAA5A52204E077883', ped, ammoHash);
```

### C#

```csharp
Function.Call((Hash)0xAA5A52204E077883, ped, ammoHash);
```

- 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.

## See also

- [WEAPON::_ENABLE_AMMO_TYPE_FOR_PED](https://natives.borderlinerp.com/natives/WEAPON/_ENABLE_AMMO_TYPE_FOR_PED.md)

*Sources: alloc8or RDR3 NativeDB.*
