-
Notifications
You must be signed in to change notification settings - Fork 1
CAU_xChat_fnc_sendMessage
Connor edited this page Mar 1, 2019
·
3 revisions
Replaces sqf commands used for printing messages to chat.
- Command: String - sqf command to perform
Supported Commands:- systemChat
- globalChat
- sideChat
- commandChat
- groupChat
- vehicleChat
- directChat (not an sqf command, but supported in this system)
- customChat
- Arguments: Array
- Message: String - Text to print to the message feed
- Sender: Object (Optional, not required for systemChat)
- ChannelID: Number (6-15) (Optional, only required for custom channels)
["systemChat",["This is systemChat"]] call CAU_xChat_fnc_sendMessage;
["globalChat",["This is globalChat",player]] call CAU_xChat_fnc_sendMessage;
["sideChat",["This is sideChat",player]] call CAU_xChat_fnc_sendMessage;
["commandChat",["This is commandChat",player]] call CAU_xChat_fnc_sendMessage;
["groupChat",["This is groupChat",player]] call CAU_xChat_fnc_sendMessage;
["vehicleChat",["This is vehicleChat",player]] call CAU_xChat_fnc_sendMessage;
["directChat",["This is directChat",player]] call CAU_xChat_fnc_sendMessage;
["customChat",["This is customChat",player,6]] call CAU_xChat_fnc_sendMessage;
// remoteExec a systemChat message to everyone
["systemChat",["This is systemChat"]] remoteExecCall ["CAU_xChat_fnc_sendMessage"];