{"hash":"0x1F7CBBAA","ns":"CFX","name":"IS_DISABLED_RAW_KEY_PRESSED","slug":"IS_DISABLED_RAW_KEY_PRESSED","official":true,"named":true,"luaName":"IsDisabledRawKeyPressed","game":"cfx","apiset":"client","returnType":"BOOL","params":[{"name":"rawKeyIndex","type":"int","description":"Index of raw key from keyboard."}],"returnsDescription":"Returns bool value of pressed state.","summary":"Gets if the specified rawKeyIndex is pressed, even if the key is disabled with DISABLE_RAW_KEY_THIS_FRAME.","descriptions":[{"source":"cfx","format":"md","body":"Gets if the specified `rawKeyIndex` is pressed, even if the key is disabled with [DISABLE_RAW_KEY_THIS_FRAME](#\\_0x8BCF0014).\n\nVirtual key codes can be found [here](https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes)"}],"examples":[{"lang":"lua","code":"if IsDisabledRawKeyPressed(32) then -- KEY_SPACE\n    print(\"Spacebar pressed\")\nend","source":"cfx"}],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":3,"url":"https://natives.borderlinerp.com/natives/CFX/IS_DISABLED_RAW_KEY_PRESSED","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/IS_DISABLED_RAW_KEY_PRESSED.md","snippets":{"lua":"local retval = IsDisabledRawKeyPressed(rawKeyIndex)","luaInvoke":"local retval = Citizen.InvokeNative(0x1f7cbbaa, rawKeyIndex, Citizen.ReturnResultAnyway())","js":"const retval = IsDisabledRawKeyPressed(rawKeyIndex);","jsInvoke":"const retval = Citizen.invokeNative('0x1f7cbbaa', rawKeyIndex, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x1f7cbbaa, rawKeyIndex);","notes":[]}}