util.GetUserGroups

From Garry's Mod
Jump to: navigation, search
 util.GetUserGroups( )

Description

Returns a table of all SteamIDs that have a usergroup.

NOTE

This returns the original usergroups table, changes done to this table are not retroactive and will only affect newly connected users

Returns

table

The table of users. The table consists of SteamID-Table pairs, where the table has 2 fields: string name - Players name

string group - The players user group
Personal tools
Navigation