# GM:AddDeathNotice

- **Ortam:** İstemci
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/GM:AddDeathNotice
- **Çeviri tarihi:** 2025-10-10

```lua
any GM:AddDeathNotice( string attacker, number attackerTeam, string inflictor, string victim, number victimTeam )
```

## Açıklama

Bir ölüm bildirimi girdisi ekler.

## Argümanlar

1. [string](https://gmod.tr/wiki/string) **attacker**: Saldıranın adı
2. [number](https://gmod.tr/wiki/number) **attackerTeam**: Saldıranın takımı
3. [string](https://gmod.tr/wiki/string) **inflictor**: Hasarı veren varlığın sınıf adı
4. [string](https://gmod.tr/wiki/string) **victim**: Kurbanın adı
5. [number](https://gmod.tr/wiki/number) **victimTeam**: Kurbanın takımı

## Döndürülen Değer

1. [any](https://gmod.tr/wiki/any): Bildirimin gösterilmesini önlemek için `true/false`. Aksi takdirde bir değer döndürmeyin.

### Örnek

Sandbox'ta bir intihar ölüm bildirimi gösterir.

```lua
local ply = Entity( 1 )
hook.Run( "AddDeathNotice", ply:GetName(), ply:Team(), "suicide", ply:GetName(), ply:Team() )
```

**Output:**

![image.png](https://gmod.tr/api/uploads/wiki/d8247e1e193a3e8f58bf.png)

- [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/GM:AddDeathNotice
