# notification.AddLegacy

- **Ortam:** İstemci
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/notification.AddLegacy
- **Çeviri tarihi:** 2026-02-16

```lua
notification.AddLegacy( string text, number type, number length )
```

## Açıklama

Ekranınıza standart bir bildirim ekler.

## Argümanlar

1 . Dönüşüm. [İpucu](https://gmod.tr/wiki/string) **metin**: Gösterilen metin.
- 2. [Numarası](https://gmod.tr/wiki/number) **Tip**: İletişimi görüntülemek için bildirim yöntemi (örneğin simge) belirler.[NOTIFY ENUM](https://gmod.tr/wiki/Enums/NOTIFY)
- 3. [Numara](https://gmod.tr/wiki/number) **uzunluk**: Uyarıyı göstermek için saniyelerin sayısı.

### Örnek

Sandbox'ta olduğu gibi ekrana bir uyarı ekler.

```lua
notification.AddLegacy( "Undone Prop", NOTIFY_UNDO, 2 )
surface.PlaySound( "buttons/button15.wav" )
Msg( "Prop undone\n" )
```

**Çıkış:**Bir bildirim ekliyor:`Undone Prop`, sesini iptal eder ve konsolle bir mesaj ekler.

![image.png](https://gmod.tr/api/uploads/wiki/2dcfce25704f79a8a0c4.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/notification.AddLegacy
