# Player:SetUserGroup

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

```lua
Player:SetUserGroup( string groupName )
```

## Açıklama

Oyuncunun kullanıcı grubunu ayarlar.

## Argümanlar

1. [string](https://gmod.tr/wiki/string) **groupName**: Oyuncunun kullanıcı grubu.

### Örnek

Oyuncuyu superadmin yapar ve grubunu yazdırır.

```lua
Player( 1 ):SetUserGroup( "superadmin" )
print( Player( 1 ):GetUserGroup() )
```

**Çıktı:**

```lua
superadmin
```

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