Garry's Mod Wiki

Garry's Mod Wiki

  Player:SetUserGroup( string groupName )

Description

Sets the usergroup of the player.

Arguments

1 string groupName
The user group of the player.

Example

Make the player superadmin and print their group.

Player( 1 ):SetUserGroup( "superadmin" ) print( Player( 1 ):GetUserGroup() )
Output:
superadmin

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...