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

Function

isCapsLockEnabled

ClientInput and controlsIdentical to MTA:SA

Checks whether Caps Lock is on (e.g. to warn while typing a password).

Syntax

bool isCapsLockEnabled()

Returns

true when Caps Lock is on.

Example

if isCapsLockEnabled() then
    outputChatBox("Uwaga: włączony Caps Lock.")
end

See also