Obtain the key code or something else to identify which key is associated to a GTA keybind

Does anyone have an idea how to know which key is bound to an keybind, for example the “INPUT_CONTEXT” keybind?

1 Like

?
https://docs.fivem.net/docs/game-references/controls/

this shows the default keys, I would also like to know them if the player rebind them

I dont believe you can see which exact button a player binds stuff to, it goes by specific actions located at the link which you should use instead. Displaying it properly will always point to the correct keybind for each player, even if it was rebound to something not default.

found the solution here (also working for the GTA keybinds)