cm_get_chat_color_by_num

Finds a chat color by a specified number.

Syntax

native cm_get_chat_color_by_num(num, buffer[], len) /** * Finds a prefix by a specified number. * * @param num Prefix number. * @param buffer Buffer to store the prefix in. * @param len Maximum buffer length. * @return 1 if found, 0 otherwise. */ native cm_get_prefix_by_num(num, buffer[], len) /** * Returns the client's chat color. * * @param id Player's index. * @param buffer Buffer to store the chat color in. * @param len Maximum buffer length. * @noreturn */ native cm_get_user_chat_color(id, buffer[], len) /** * Checks whether the client's color chat is enabled or disabled. * * @param id Player's index. * @return True if it's enabled, false otherwise. */ native bool:cm_get_user_chat_color_status(id)

Usage

num Color number.
buffer Buffer to store the chat color in.
len Maximum buffer length.

Return

1 — if found, 0 otherwise.

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