# Player:SetAmmo

- **Ortam:** İstemci, Sunucu
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/Player:SetAmmo
- **Çeviri tarihi:** 2025-09-08

```lua
Player:SetAmmo( number ammoCount, any ammoType )
```

## Açıklama

Oyuncunun belirtilen mühimmat miktarını ayarlar.

## Argümanlar

1. [number](https://gmod.tr/wiki/number) **ammoCount**: Ayarlanacak mühimmat miktarı.
2. [any](https://gmod.tr/wiki/any) **ammoType**: Mühimmat türü. Sayısal mühimmat ID'si (number) veya metinsel mühimmat adı (string) olabilir. Varsayılan değerler için [Varsayılan Mühimmat Türleri](https://gmod.tr/wiki/Default_Ammo_Types)'ne bakın.

- [GMod Wiki ana sayfası](https://gmod.tr/wiki)

---

[Tüm sunucular](https://gmod.tr/) · [GmodTR Launcher](https://gmod.tr/launcher) · [Rehber](https://gmod.tr/rehber) · [GMod Wiki](https://gmod.tr/wiki) · [GmodTR nedir?](https://gmod.tr/hakkinda) · [Sunucu ekle](https://gmod.tr/sunucu-ekle) · [Discord](https://discord.gg/gmodtr)

Kaynak: https://gmod.tr/wiki/Player:SetAmmo
