Reading the API, I realized that there's no way to interface with the QSB chat with an addon via the API. I would appreciate some integration with a couple of API additions:
event OnChatMessage(string message, int senderID)
Runs whenever a chat message is sent. "message" is the contents of the message, excluding the name of the sender. "senderID" is just the internal identifier of the sender. Server messages, like "PlayerName joined" have the senderID of -1.
void SendChatMessage(string message)
Sends something to the QSB chat to all players.
Reading the API, I realized that there's no way to interface with the QSB chat with an addon via the API. I would appreciate some integration with a couple of API additions:
event OnChatMessage(string message, int senderID)
Runs whenever a chat message is sent. "message" is the contents of the message, excluding the name of the sender. "senderID" is just the internal identifier of the sender. Server messages, like "PlayerName joined" have the senderID of -1.void SendChatMessage(string message)
Sends something to the QSB chat to all players.