OutputCmdMessage

From Multi Theft Auto: Wiki

This function send Messages To cmd window .

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

DGS = exports.dgs
cmd = DGS:dgsCreateCmd(310, 208, 505, 429,false)

addCommandHandler("test",function (_,arg)
	if arg and arg ~=  "" then 
		DGS:outputCmdMessage(cmd,arg)
	end
end )

See Also

Multi Language Supports

Animation

3D Interface

3D Text

Arrow List

Browser

Button

Check Box

Combo Box

Edit

Ellipse Detect Area

Detect Area

Grid List

Image

Memo

Label

Progress Bar

Radio Button

Scroll Bar

Scroll Pane

Switch Button

Tab Panel

Window

Plugin

Media Browser

Rounded Rectangle

Color Picker

Blur Box

Effect 3D