cm_set_user_say_format
Sets a temporary say format on the client.
Syntax
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. * * @return Number ot total say formats registered for players in the .ini file. */ native cm_total_say_formats() /** * Updates the client's prefix and chat color according to the data stored in the plugin. * * @note This can be used if you changed the player's admin flags and you want * to immediately update the player's prefix and chat color. * * @param id Player's index.
Usage
| id | Player's index. |
| say | Temporary say format. |
| say_team | Temporary say_team format. |
Return
if the format doesn't exist, 1 otherwise.
Notes
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.
Defined in
chatmanager.inc
at line 168
.
This documentation was automatically generated from source.