IsCapsLockEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Note: version may change)
m (add NOTOC)
Line 1: Line 1:
__NOTOC__
{{Client function}}
{{Client function}}



Revision as of 22:13, 12 September 2022

Syntax

bool isCapsLockEnabled()

Returns

Returns true if caps lock is toggled (on), false otherwise.

Example

function checkCaps()
    iprint(isCapsLockEnabled(), getTickCount())
end
addCommandHandler("caps", checkCaps)

Requirements

This template will be deleted.

See Also