# NPC:SetCurrentWeaponProficiency

- **Ortam:** Sunucu
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/NPC:SetCurrentWeaponProficiency
- **Çeviri tarihi:** 2025-09-08

```lua
NPC:SetCurrentWeaponProficiency( number proficiency )
```

## Açıklama

Bir NPC'nin silah yetkinliğini (bir NPC'nin mevcut silahıyla ne kadar yetenekli olduğunu) ayarlar.

## Argümanlar

1. [number](https://gmod.tr/wiki/number) **proficiency**: NPC'nin mevcut silahı için yetkinlik. Bakınız: [WEAPON_PROFICIENCY enum](https://gmod.tr/wiki/Enums/WEAPON_PROFICIENCY).

### Örnek

Tüm NPC'lerin mevcut silahlarını kötü kullanmalarını sağlar.

```lua
for _, v in ents.Iterator() do
	if ( v:IsNPC() ) then
		npc:SetCurrentWeaponProficiency( WEAPON_PROFICIENCY_POOR )
	end
end
```

- [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/NPC:SetCurrentWeaponProficiency
