cm_get_user_prefix

Returns the client's prefix.

Syntax

native cm_get_user_prefix(id, buffer[], len) /** * Checks whether the client's prefix is enabled or disabled. * * @param id Player's index. * @return True if it's enabled, false otherwise. */ native bool:cm_get_user_prefix_status(id) /** * Checks if the client has admin listen (can see all chats). * * @param id Player's index. * @return True if he has, false otherwise. */ native bool:cm_has_user_admin_listen(id) /** * Reloads the configuration file. * * @noreturn */ native cm_reload_config_file() /** * Sets a temporary chat color on the client. * * @note The chat color set with this native won't get saved in the .ini file, so it will be gone after the client's data is updated. *

Usage

id Player's index.
buffer Buffer to store the prefix in.
len Maximum buffer length.

Return

This function has no return value.

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