agroups_update_user_group

Syntax

native agroups_update_user_group(id)

Usage

id
Player's index.

Description

Updates the user's group.

Return

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