player.GetBots

  table player.GetBots()

Açıklama

Sunucudaki tüm botların bir tablosunu döndürür.

Döndürülen Değerler

1 sıralı table<Player>
Sadece botları ( YZ / insan olmayan oyuncuları ) içeren bir tablo

Örnek

Tüm botları sunucudan atar.

for _, bot in ipairs(player.GetBots()) do bot:Kick("Bot's not allowed") end

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