IsConsoleActive

From Multi Theft Auto: Wiki

Jump to: navigation, search

This function returns whether the ingame console window is visible or not.

Syntax

Returns

Returns true if the console is visible, false if not.

Example

This example does...

function consoleactiveCommand(arg)
    local active = "not active."
    if (isConsoleActive()) then active = "active." end
    outputChatBox("Your console is " .. active)
end
addCommandHandler("consoleactive", consoleactiveCommand)

See Also

Buttons

Checkboxes

Comboboxes

Edit Fields

Gridlists

Memos

Progressbars

Radio Buttons

Scrollbars

Scrollpanes

Static Images

Tab Panels

Tabs

Text Labels

Windows