agroups_get_groups_num

Gets total number of registered groups.

Syntax

native agroups_get_groups_num() /** * Gets the number of online players in a specified group. * * @param iGroup Group's index. * @return -1 if the group doesn't exist, otherwise returns the number of players in the group. */ native agroups_get_players_in_group(group) /** * Get's the user group. * * @param id Player's index. * @param group Buffer to store the group name in. * @param len Buffer length. * @return -2 if the player is not connected, -1 if the player is not in a group, group's index otherwise. */ native agroups_get_user_group(id, group[] = "", len = 0) /** * Attempts to open the groups menu. * * @param id Player's index. * @return -2 if the player is not connected, 1 otherwise. */ native agroups_open_groups_menu(id) /** * Attempts to play the menu sound.

Return

Number — of groups.

Defined in agroups.inc at line 12 . This documentation was automatically generated from source.