# engine.GetGames

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

```lua
table engine.GetGames()
```

## Açıklama

Garry's Mod'un içerik bağlamayı desteklediği tüm oyunlara karşılık gelen tablolardan oluşan bir dizi döndürür.

## Döndürülen Değerler

1. [table](https://gmod.tr/wiki/table): Bağlanabilir tüm oyunları içeren bir tablo dizisi

### Örnek

Oyunların, Steam AppId'lerinin, başlıklarının ve durumlarının (sahip olunan, kurulu, bağlı) bir listesini yazdırır.

```lua
PrintTable( engine.GetGames() )
```

**Çıktı:**

```lua
1:
 depot = 220
 title = Half-Life 2
 owned = true
 folder = hl2
 mounted = true
 installed = true
2:
 depot = 240
 title = Counter-Strike
 owned = false
 folder = cstrike
 mounted = false
 installed = false
3:
 depot = 300
 title = Day of Defeat
 owned = false
 folder = dod
 mounted = false
 installed = false
4:
 depot = 440
 title = Team Fortress 2
 owned = true
 folder = tf
 mounted = true
 installed = true
```

```

- [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/engine.GetGames
