WeiZed Posted November 17, 2021 Posted November 17, 2021 (edited) https://wiki.rage.mp/index.php?title=EventTriggeredByKey As i understood, it should give me the keyCode of the player's pressed key in the first parameter, but it gives nothing.. When this event triggers? Edited November 17, 2021 by WeiZed
voltpowered Posted November 17, 2021 Posted November 17, 2021 Can you show your code and explain what your trying to do?
WeiZed Posted November 18, 2021 Author Posted November 18, 2021 11 час назад, voltpowered сказал: Can you show your code and explain what your trying to do? i just wanna know when this event called, by which exactly player's action
voltpowered Posted November 19, 2021 Posted November 19, 2021 23 hours ago, WeiZed said: i just wanna know when this event called, by which exactly player's action Well thats pretty hard to tell you because RAGE:MP isn’t open sourced.
waayne Posted November 23, 2021 Posted November 23, 2021 Tested it too. Made the experience if there is a method in the C# API it doesn't mean that it does something. Use this instead to trigger keybinds and then handle the event in C#. JavaScript seems to work better for clientside, also there are bit more resources in the docs.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now