# player.GetByUniqueID

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

```lua
Player veya boolean player.GetByUniqueID( string uniqueID )
```

## Açıklama

> **KULLANIMDAN KALKTI:** Bunu kullanmamanızı tavsiye ederiz. Gelecekteki bir güncellemede değiştirilebilir veya kaldırılabilir.
> Bunun yerine bir oyuncuyu benzersiz bir tanımlayıcıyla bulmak için [player.GetBySteamID64](https://gmod.tr/wiki/player.GetBySteamID64), [player.GetBySteamID](https://gmod.tr/wiki/player.GetBySteamID) veya [player.GetByAccountID](https://gmod.tr/wiki/player.GetByAccountID) kullanın.

Belirtilen uniqueID'ye sahip oyuncuyu getirir (oyuncuları tanımlamak için önerilmeyen bir yöntemdir).

> **UYARI:** Bu fonksiyon çakışmalara neden olabileceğinden (farklı insanlar için aynı olabileceğinden), bunun yerine [player.GetByAccountID](https://gmod.tr/wiki/player.GetByAccountID), [player.GetBySteamID](https://gmod.tr/wiki/player.GetBySteamID) veya [player.GetBySteamID64](https://gmod.tr/wiki/player.GetBySteamID64) kullanmanız şiddetle tavsiye edilir. SteamID'nin her oyuncu için benzersiz olması garanti edilir.

> **UYARI:** Dahili olarak bu fonksiyon sunucudaki tüm oyuncular üzerinde döngü kurar, bu da performans açısından kritik bir bağlamda oldukça maliyetli olabileceği anlamına gelir.

## Argümanlar

1. [string](https://gmod.tr/wiki/string) **uniqueID**: Oyuncuyu bulmak için kullanılacak [Player:UniqueID](https://gmod.tr/wiki/Player.UniqueID).

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

1. [Player](https://gmod.tr/wiki/Player) veya [boolean](https://gmod.tr/wiki/boolean): Eğer bir oyuncu bulunursa [Player](https://gmod.tr/wiki/Player) nesnesini, aksi takdirde `false` değerini döndürür.

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