# GM:PlayerAuthed

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

```lua
GM:PlayerAuthed( Player ply, string steamid, string uniqueid )
```

## Açıklama

Oyuncunun [Player:UniqueID](https://gmod.tr/wiki/Player.UniqueID)'si ilk kez ayarlandıktan sonra çağrılır. Bu hook, tek oyunculu modda da çağrılacaktır.

Oyuncunun SteamID'sinin Steam tarafından doğrulandığında çağrılan bir hook için [GM:NetworkIDValidated](https://gmod.tr/wiki/GM:NetworkIDValidated) sayfasına bakın.

## Argümanlar

1. [Player](https://gmod.tr/wiki/Player) **ply**: Oyuncu
2. [string](https://gmod.tr/wiki/string) **steamid**: Oyuncunun SteamID'si. > **UYARI:** Bu, tek oyunculu modda her zaman boş bir dize `""` olacaktır.
3. [string](https://gmod.tr/wiki/string) **uniqueid**: Oyuncunun UniqueID'si. > **UYARI:** Bu, tek oyunculu modda her zaman `"1"` olacaktır.

### Örnek

```lua
hook.Add( "PlayerAuthed", "JoinNotification", function( ply, steamid, uniqueid )
    print( ply:Name() .. " has been authenticated as " .. steamid .. "." )
end )
```

**Çıktı:**

```lua
Player1 has been authenticated as STEAM_0:1:12345678.
```

- [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/GM:PlayerAuthed
