# player.GetBots

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

```lua
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](https://gmod.tr/wiki/table)<[Player](https://gmod.tr/wiki/Player)>: Sadece botları ( YZ / insan olmayan oyuncuları ) içeren bir tablo

### Örnek

Tüm botları sunucudan atar.

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

- [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/player.GetBots
