cm_set_user_chat_color
Sets a temporary chat color on the client.
Syntax
native cm_set_user_chat_color(id, color[]) /** * Enables/Disables the client's color chat. * * @param id Player's index. * @param status True to enable or false to disable. * @noreturn */ 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[])
Usage
| id | Player's index. |
| color | Temporary chat color. |
Defined in
chatmanager.inc
.
This documentation was automatically generated from source.