# NPC:GetActiveWeapon

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

```lua
Entity NPC:GetActiveWeapon()
```

## Açıklama

NPC'nin o anda taşıdığı silahı veya [NULL](https://gmod.tr/wiki/Global_Variables)'u döndürür.

## Döndürülenler

1. [Entity](https://gmod.tr/wiki/Entity): NPC'nin mevcut silahı

- [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:GetActiveWeapon
