cm_set_user_prefix_status
Enables/Disables the client's prefix.
Syntax
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. * * @param id Player's index. * @param say Temporary say format. * @param say_team Temporary say_team format. * @return 0 if the format doesn't exist, 1 otherwise. */ native cm_set_user_say_format(id, say[], say_team[]) /** * Returns the number ot total chat colors added in the .ini file. * * @return Number ot total chat colors added in the .ini file. */ native cm_total_chat_colors() /** * Returns the number ot total prefixes added in the .ini file. * * @return Number ot total prefixes added in the .ini file. */ native cm_total_prefixes() /** * Returns the number ot total say formats registered for players in the .ini file.
Usage
| id | Player's index. |
| status | True to enable or false to disable. |
| update | Whether to automatically update the player's data. |
Return
This function has no return value.
Notes
It is recommended to leave the "update" parameter to "true" because starting from version 4.1
Defined in
chatmanager.inc
at line 156
.
This documentation was automatically generated from source.