# list.Add

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

```lua
number list.Add( string identifier, any item )
```

## Açıklama

Belirtilen bir listeye bir öğe ekler.

## Argümanlar

1. [string](https://gmod.tr/wiki/string) **identifier**: Liste tanımlayıcısı
2. [any](https://gmod.tr/wiki/any) **item**: Listeye eklenecek öğe

## Döndürdüğü Değerler

1. [number](https://gmod.tr/wiki/number): Öğenin eklendiği dizin.

### Örnek

weapons/gmod_tool/stools/paint.lua dosyasından

```lua
list.Add( "PaintMaterials", "Eye" )
list.Add( "PaintMaterials", "Smile" )
list.Add( "PaintMaterials", "Light" )
```

- [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/list.Add
