agroups_play_menu_sound

Attempts to play the menu sound.

Syntax

native agroups_play_menu_sound(id) /** * Updates the user's group. * * @param id Player's index. * @return -2 if the player is not connected, -1 if the player is not in a group, group's index otherwise. */ native agroups_update_user_group(id)

Usage

id Player's index.

Return

-2 if the player is not connected, 0 if the sound option is disabled, 1 otherwise.

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