GetAdminGroup

Last Updated2018-02-20
Created At2007-05-19

Returns group information from an admin.

native GroupId GetAdminGroup(AdminId id, int index, char[] name, int maxlength)

Parameters

AdminId index of the admin.
int index
Group number to retrieve, from 0 to N-1, where N is the value of GetAdminGroupCount(id).
char[] name
Buffer to store the group's name. Note: This will safely chop UTF-8 strings.
int maxlength
Maximum size of the output name buffer.

Return Value

GroupId A GroupId index and a name pointer, or INVALID_GROUP_ID and NULL if an error occurred.