spawnmenu.GetPropTable

  table spawnmenu.GetPropTable()

Açıklama

Oluşturma menüsündeki (spawnmenu) tüm prop kategorilerini ve proplarını içeren bir tablo döndürür.

Oluşturma menüsü henüz doldurulmadıysa, bu fonksiyonun boş bir tablo döndüreceğini unutmayın.

Bu fonksiyon eklentiler tarafından oluşturulan oluşturma listelerini (spawnlist) döndürmez, bunun için spawnmenu.GetCustomPropTable fonksiyonuna bakın.

Döndürülenler

1 table
Aşağıdaki formatta tüm prop kategorilerini ve proplarını içeren tablo:
{ ["settings/spawnlist/001-construction props.txt"] = { name = "Construction Props", icon = "icon16/page.png", id = 1, parentid = 0, needsapp = "", contents = { { model = "models/Cranes/crane_frame.mdl", type = "model" } -- vb. }, } -- vb. }

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