# game.GetGlobalState

- **Ortam:** Sunucu
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/game.GetGlobalState
- **Çeviri tarihi:** 2025-09-08

```lua
number game.GetGlobalState( string name )
```

## Açıklama

Bir Global State'in kapalı, aktif ya da ölü (etkin değil) olup olmadığını döndürür.

Daha fazla bilgi için [Global States](https://gmod.tr/wiki/Global_States) sayfasına bakın.

## Argümanlar

1. [string](https://gmod.tr/wiki/string) **name**: Durumu alınacak olan Global State'in adı. Eğer o isimde bir Global State mevcut değilse, **GLOBAL_DEAD** döndürülür. Varsayılan global state'lerin bir listesi için [Global States](https://gmod.tr/wiki/Global_States) sayfasına bakın.

## Dönen Değerler

1. [number](https://gmod.tr/wiki/number): Global State'in durumu. Bakınız: [GLOBAL enum](https://gmod.tr/wiki/Enums/GLOBAL)

- [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.GetGlobalState
