ChatColors: Add a message forward.

Allows to block message per client.
This commit is contained in:
zaCade
2018-06-14 16:21:36 +02:00
parent 0e4b21116b
commit ded4308733
2 changed files with 23 additions and 7 deletions
+3 -3
View File
@@ -134,12 +134,12 @@ native int CCC_ResetTag(int client);
/**
* Called when a message has been fully colored and will be sent, unless further plugins modify it through Simple Chat Processor
*
* @param client Recieving client index
* @param author Author client index
* @param message Message
* @param maxlen Maximum length of message buffer
* @noreturn
* @return Plugin_Handled to block message, Plugin_Continue to allow message
*/
//forward CCC_OnChatMessage(author, String:message[], maxlen);
forward Action CCC_OnChatMessage(int client, int author, const char[] message);
/**
* Called when a client's colors and tag are about to be loaded from the config file