ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. isChatBoxInputActive

Function

isChatBoxInputActive

ClientMiscellaneousIdentical to MTA:SA

Checks whether the player is typing in chat right now.

Syntax

bool isChatBoxInputActive()

Returns

true while typing.

Example

bindKey("e", "down", function()
    if isChatBoxInputActive() then return end
    outputChatBox("Akcja!")
end)

See also