Player.SetUserGroup
From GMod Wiki
| Function | |
| Syntax | Player:SetUserGroup( String group ) |
| Description: | |
| Set the Player to the specified group. | |
| Returns: | nil |
| In Object: | Player |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.SetUserGroup]Player.SetUserGroup [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Sets a Player to the SuperAdmin Group |
|---|---|
| Used on | |
| Code | player:SetUserGroup("superadmin") |
| Output | N/A |