# surface.ScreenWidth

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

```lua
number surface.ScreenWidth()
```

## Açıklama

> **KULLANIMDAN KALKTI:** Bunu kullanmanız tavsiye edilmez. Gelecekteki bir güncellemede değiştirilebilir veya kaldırılabilir.
> Bunun yerine [ScrW](https://gmod.tr/wiki/Global.ScrW) kullanmalısınız.

Mevcut istemcinin ekranının genişliğini döndürür.

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

1. [number](https://gmod.tr/wiki/number): screenWidth

### Örnek

Ekranın mevcut genişliğini yazdırır.

```lua
MsgN("Screen width: " .. surface.ScreenWidth())
```

**Çıktı:** Screen width: 1920

- [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/surface.ScreenWidth
