- Client (production/canary) and FXServer version
- Beta b3095
FXServer-master SERVER v1.0.0.7290 win32
- What you expected to happen
- When passed a hexadecimal value after converting a command used by
RegisterKeyMapping,GetControlInstructionalButtonshould return a value that matches the current key the command is mapped to.- E.g. if
testCommandis mapped toV,GetControlInstructionalButtonshould returnt_V.
- E.g. if
- When passed a hexadecimal value after converting a command used by
- What actually happens
- The last
validvalue is returned.- E.g. if you pass
8toGetControlInstructionalButton, then pass0x34BAA173(testCommandmapped toV), it returnst_Sinstead oft_V.
- E.g. if you pass
- The last
- Category of bug (eg. client, server, weapons, peds, native)
- client
- native
- Reproducible steps, preferably with example script(s)
-- Note: Replace `0x34BAA173` with a valid `RegisterKeyMapping` entry, converted to hexadecimal
local buttonOne = GetControlInstructionalButton(2, 52)
local buttonTwo = GetControlInstructionalButton(2, 0x34BAA173)
local buttonThree = GetControlInstructionalButton(2, 38)
local buttonFour = GetControlInstructionalButton(2, 0x34BAA173)
return buttonOne .. " - " .. buttonTwo .. " - " .. buttonThree .. " - " .. buttonFour
Expected output: t_Q - t_V - t_E - t_V
Actual output: t_Q - t_Q - t_E - t_E
