IsCapsLockEnabled

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

This function returns the state of the caps lock.

Syntax

bool isCapsLockEnabled()

Returns

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

Example

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

See Also