IsCapsLockEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (add NOTOC)
m (Update version requirements)
Line 17: Line 17:


==Requirements==
==Requirements==
{{Requirements|n/a|1.5.9-9.21266|}}
{{Requirements|n/a|1.5.9-9.21313|}}


==See Also==
==See Also==
{{Input functions}}
{{Input functions}}

Revision as of 17:23, 27 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