forked from UNLOZE/sm-plugins
ChatColors: Add a message forward.
Allows to block message per client.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user