# Player:SteamID

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

```lua
string Player:SteamID()
```

## Açıklama

Oyuncunun SteamID'sini döndürür.

SteamID'nin daha kısa bir versiyonu için [Player:AccountID](https://gmod.tr/wiki/Player:AccountID)'ye ve tam SteamID için [Player:SteamID64](https://gmod.tr/wiki/Player:SteamID64)'e bakın.

Mümkün olan her durumda diğer SteamID formatları yerine [Player:SteamID64](https://gmod.tr/wiki/Player:SteamID64) kullanılması tavsiye edilir.

> **NOT:** `-multirun` ortamında, bu fonksiyon bir oyuncunun tüm "kopyaları" için `STEAM_ID_LAN` döndürür çünkü bu kopyalar Steam ile doğrulanmamıştır.
>
> Botlar için `BOT` döndürür.

## Döndürülenler

1. [string](https://gmod.tr/wiki/string): Oyuncunun SteamID'sinin "Metin" (string) temsili.

### Örnek

Tüm oyuncuların EntityID, İsim ve SteamID'lerini yazdırır.

```lua
for _, ply in ipairs( player.GetAll() ) do
	print( "[" .. ply:EntIndex() .. "]", ply:Name(), ply:SteamID() )
end
```

**Çıktı:** Sunucudaki her oyuncunun EntityID, İsim ve SteamID'sini içeren bir liste.

- [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:SteamID
