cm_get_prefix_by_num
Finds a prefix by a specified number.
Syntax
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) /** * Returns the client's custom name. * * @param id Player's index. * @param buffer Buffer to store the custom name in. * @param len Maximum buffer length. * @noreturn */ native cm_get_user_custom_name(id, buffer[], len)
Usage
| num | Prefix number. |
| buffer | Buffer to store the prefix in. |
| len | Maximum buffer length. |
Return
1 — if found, 0 otherwise.
Defined in
chatmanager.inc
at line 34
.
This documentation was automatically generated from source.