Returns whether the hotkeys are currently enabled or disabled.
Returns whether the hotkeys are currently enabled or disabled.
exports['jaksam_inventory']:areHotkeysEnabled()
-- Check if hotkeys are enabledlocal enabled = exports['jaksam_inventory']:areHotkeysEnabled()if enabled then print('Hotkeys are enabled')else print('Hotkeys are disabled')end-- Toggle hotkeyslocal currentState = exports['jaksam_inventory']:areHotkeysEnabled()exports['jaksam_inventory']:setHotkeysEnabled(not currentState)