Short said; I don’t like that you have to register commands to use the REGISTER_KEY_MAPPING
native…
I am trying to make my ‘own’ version of it that allows me to use events instead, now I have stumbled on the code that FiveM uses for the REGISTER_KEY_MAPPING
native on GitHub but it didn’t really help me any further since I don’t understand a shit of C+…
So is there anyone who knows how to get this type of thing in my LUA resource, but with RegisterNetEvents instead of commands?
Let me know