cm_set_user_custom_name_status
Enables/Disables the client's custom name.
Syntax
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. * @param update Whether to automatically update the player's data. * @noreturn */ native cm_set_user_prefix_status(id, bool:status, bool:update = true) /** * Sets a temporary say format on the client. * * @note The say format 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. |
| status | True to enable or false to disable. |
Return
This function has no return value.
Defined in
chatmanager.inc
at line 132
.
This documentation was automatically generated from source.