# steamworks.RequestPlayerInfo

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

```lua
steamworks.RequestPlayerInfo( string steamID64, function callback )
```

## Açıklama

Belirtilen SteamID64'e sahip oyuncunun bilgilerini, daha sonra [steamworks.GetPlayerName](https://gmod.tr/wiki/steamworks.GetPlayerName) ile kullanılmak üzere talep eder.

## Argümanlar

1. [string](https://gmod.tr/wiki/string) **steamID64**: Oyuncunun 64-bit Steam ID'si.
2. [function](https://gmod.tr/wiki/function) **callback**: Veri ulaştığında veriyi içeren bir geri arama (callback) fonksiyonu. Fonksiyon argüman(lar)ı: 1. [string](https://gmod.tr/wiki/string) **name** - Oyuncunun adı.

### Örnek

Yerel oyuncunun Steam adını alır ve konsola yazdırır.

```lua
steamworks.RequestPlayerInfo( LocalPlayer():SteamID64(), function( steamName )
	print( steamName )
end )
```

**Çıktı:** Yerel oyuncunun adı.

- [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/steamworks.RequestPlayerInfo
