# ENTITY:OnCondition

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

```lua
ENTITY:OnCondition( number conditionID )
```

## Açıklama

NPC'nin durumunu her güncellediğinde çağrılır.

> **NOT:** Bu hook yalnızca `ai` türündeki SENT'ler için mevcuttur.

## Argümanlar

1. [number](https://gmod.tr/wiki/number) **conditionID**: Durumun ID'si. Bakınız: [NPC:ConditionName](https://gmod.tr/wiki/NPC:ConditionName).

- [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/ENTITY:OnCondition
