cm_set_user_chat_color_status

Enables/Disables the client's color chat.

Syntax

native cm_set_user_chat_color_status(id, bool:status) /** * Enables/Disables the client's custom name. * * @param id Player's index. * @param status True to enable or false to disable. * @noreturn */ native cm_set_user_custom_name_status(id, bool:status) /** * Sets a temporary prefix on the client. * * @note The prefix set with this native won't get saved in the .ini file, so it will be gone after the client's data is updated. * * @param id Player's index. * @param prefix Temporary prefix. * @noreturn */ native cm_set_user_prefix(id, prefix[]) /** * Enables/Disables the client's prefix. * * @note It is recommended to leave the "update" parameter to "true" because starting from version 4.1 * custom data can be set to players who don't have a prefix or their prefix is disabled. * * @param id Player's index. * @param status True to enable or false to disable.

Usage

id Player's index.
status True to enable or false to disable.

Return

This function has no return value.

Defined in chatmanager.inc at line 123 . This documentation was automatically generated from source.