OutputCmdMessage
Jump to navigation
Jump to search
Syntax
bool outputCmdMessage ( element cmd , string text )
Required Arguments
- Cmd: The cmd window.
- text: The text string that you wish to send to the cmd window.
Example 1:
DGS = exports.dgs cmd = DGS:dgsDxCreateCmd(310, 208, 505, 429,false) addCommandHandler("22", function (_,arg) if arg ~= "" then DGS:outputCmdMessage(cmd,arg) end end )