# CTakeDamageInfo:GetInflictor

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

```lua
Entity CTakeDamageInfo:GetInflictor()
```

## Açıklama

Hasarı uygulayan varlığı (inflictor) döndürür. Bu her zaman bir silah olmak zorunda değildir.

Anında vuran (hitscan) silahlar için bu, silahın kendisidir.

Mermi tabanlı (projectile) silahlar için bu, merminin kendisidir.

Bir varlığa hasar veren silahı daha güvenilir bir şekilde almak için [CTakeDamageInfo:GetWeapon](https://gmod.tr/wiki/CTakeDamageInfo:GetWeapon) veya [GetAttacker](https://gmod.tr/wiki/CTakeDamageInfo:GetAttacker) ile birlikte [GetActiveWeapon](https://gmod.tr/wiki/Player:GetActiveWeapon) kullanın.

## Geri Dönüş Değeri

1. [Entity](https://gmod.tr/wiki/Entity): Hasarı uygulayan varlık.

- [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/CTakeDamageInfo:GetInflictor
