Player.SetUserGroup

From GMod Wiki

Revision as of 14:56, 13 September 2009 by UnrealomegaBot (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax Player:SetUserGroup( String group )
Description:
Set the Player to the specified group.
Returns: nil
In Object: Player
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.SetUserGroup]Player.SetUserGroup [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionSets a Player to the SuperAdmin Group
Used onNewerServer.png
Code
player:SetUserGroup("superadmin")
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox