# game.GetMap

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

```lua
string game.GetMap()
```

## Açıklama

Mevcut haritanın adını, dosya uzantısı olmadan döndürür. Menü durumundayken "menu" döndürür.

> **UYARI:** Çok oyunculu modda bu, CLIENT alanında [GM:Initialize](https://gmod.tr/wiki/GM:Initialize) çağrılmadan önce mevcut haritayı döndürmez.

## Döndürdüğü Değer

1. [string](https://gmod.tr/wiki/string): Mevcut haritanın adı, dosya uzantısı olmadan.

### Örnek

```lua
print(game.GetMap())
```

**Çıktı:** gm_flatgrass

- [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/game.GetMap
