Functions in chatmanager.inc

Function Description
cm_on_player_data_updated
Called right after a player's data has been updated.
cm_get_admin_listen_flags
Returns the flags needed to see all chats.
cm_get_chat_color_by_num
Finds a chat color by a specified number.
cm_get_prefix_by_num
Finds a prefix by a specified number.
cm_get_user_chat_color
Returns the client's chat color.
cm_get_user_chat_color_status
Checks whether the client's color chat is enabled or disabled.
cm_get_user_custom_name
Returns the client's custom name.
cm_get_user_custom_name_status
Checks whether the client's custom name is enabled or disabled.
cm_get_user_prefix
Returns the client's prefix.
cm_get_user_prefix_status
Checks whether the client's prefix is enabled or disabled.
cm_has_user_admin_listen
Checks if the client has admin listen (can see all chats).
cm_reload_config_file
Reloads the configuration file.
cm_set_user_chat_color
Sets a temporary chat color on the client.
cm_set_user_chat_color_status
Enables/Disables the client's color chat.
cm_set_user_custom_name_status
Enables/Disables the client's custom name.
cm_set_user_prefix
Sets a temporary prefix on the client.
cm_set_user_prefix_status
Enables/Disables the client's prefix.
cm_set_user_say_format
Sets a temporary say format on the client.
cm_total_chat_colors
Returns the number ot total chat colors added in the .ini file.
cm_total_prefixes
Returns the number ot total prefixes added in the .ini file.
cm_total_say_formats
Returns the number ot total say formats registered for players in the .ini file.
cm_update_player_data
Updates the client's prefix and chat color according to the data stored in the plugin.