IsChatBoxInputActive

From Multi Theft Auto: Wiki
Revision as of 17:21, 21 November 2018 by LordHenry (talk | contribs) (→‎See Also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function returns whether the ingame chatbox is being used (accepting chatbox input) or not.

Syntax

bool isChatBoxInputActive ()

OOP Syntax Help! I don't understand this!

Method: GuiElement.isChatBoxInputActive(...)
Variable: .chatBoxInputActive


Returns

Returns true if the chatbox is receiving input, false if not active.

Example

This example shows how you can check if a user has the chat box active (and presumably typing a message).

if isChatBoxInputActive() then
    outputChatBox("You're typing")
end

See Also

General functions

Browsers

Buttons

Checkboxes

Comboboxes

Edit Boxes

Gridlists

Memos

Progressbars

Radio Buttons

Scrollbars

Scrollpanes

Static Images

Tab Panels

Tabs

Text Labels

Windows

Input

GUI