# NPC:CapabilitiesAdd

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

```lua
NPC:CapabilitiesAdd( number capabilities )
```

## Açıklama

NPC'ye bir yetenek ekler.

## Argümanlar

1. [number](https://gmod.tr/wiki/number), [CAP enum](https://gmod.tr/wiki/Enums/CAP) ile **capabilities**: Eklenecek yetenekler, bkz. [CAP enum](https://gmod.tr/wiki/Enums/CAP).

### Örnek

NPC'nin yeteneklerine `CAP_USE_SHOT_REGULATOR` yeteneğini ekler.

```lua
self:CapabilitiesAdd( CAP_USE_SHOT_REGULATOR )
```

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