OutputCmdMessage: Difference between revisions
Jump to navigation
Jump to search
(Created page with " ==Syntax== <syntaxhighlight lang="lua">bool outputCmdMessage ( element cmd , string text )</syntaxhighlight> ==Required Arguments== *'''Cmd:''' The cmd window. *'''text:'''...") |
(No difference)
|
Revision as of 10:07, 18 August 2017
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
)