agroups_get_user_group

Syntax

native agroups_get_user_group(id, group[] = "", len = 0)

Usage

id
Player's index.
group
Buffer to store the group name in.
len
Buffer length.

Description

Get's the user group.

Return

-2 if the player is not connected, -1 if the player is not in a group, group's index otherwise.