Garry's Mod Wiki

Revision Difference

util.GetUserGroups#512279

<function name="GetUserGroups" parent="util" type="libraryfunc">⤶ <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</note>⤶ </description>⤶ <realm>Server</realm>⤶ <file line="77">lua/includes/extensions/player_auth.lua</file>⤶ <rets>⤶ <ret name="" type="table">The table of users. The table consists of SteamID-Table pairs, where the table has 2 fields:⤶ <page>string</page> name - Players name⤶ <page>string</page> group - The players user group</ret>⤶ </rets>⤶ </function>⤶ ⤶