list.Add

  number list.Add( string identifier, any item )

Açıklama

Belirtilen bir listeye bir öğe ekler.

Argümanlar

1 string identifier
Liste tanımlayıcısı
2 any item
Listeye eklenecek öğe

Döndürdüğü Değerler

1 number
Öğenin eklendiği dizin.

Örnek

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

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

Tüm sunucular · GmodTR Launcher · Rehber · GMod Wiki · GmodTR nedir? · Sunucu ekle · Discord