Gets called when a
Player sent a message.
Code cpp:
VAULTSCRIPT VAULTSPACE State OnPlayerChat(VAULTSPACE ID, VAULTSPACE RawString) _CPP(noexcept);
Code c:
forward OnPlayerChat(ID, message{});
ID - the ID of the
Player
RawString - the entered message, which is a
MAX_CHAT_LENGTH sized, modifiable buffer
If returned
True, the (updated) message will be sent to all clients. If returned
False, the message is blocked.