# CTakeDamageInfo:SetWeapon

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

```lua
CTakeDamageInfo:SetWeapon( Entity )
```

## Açıklama

Hasar olayının hasar veren silahını ayarlar.

Bu, bir mermi değil, bir [Weapon](https://gmod.tr/wiki/Weapon) varlığı olmalıdır. Ayrıca bakınız: [CTakeDamageInfo:SetInflictor](https://gmod.tr/wiki/CTakeDamageInfo:SetInflictor).

## Argümanlar

1. [Entity](https://gmod.tr/wiki/Entity): Hasar veren silah veya [NULL](https://gmod.tr/wiki/null).

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