Jump to content
RAGE Multiplayer Community

Event on key press


SparkMyte
 Share

Recommended Posts

Hi, Thank to @sparx for reply as C#.

and as JS, use this form of script:

/// This form you can get input of your keybind, 0x4C is "L", you can change it to your own key code everything you want.
mp.keys.bind(0x4C, true, function() {
  /// Here write your code as you wish
});

Finally, use this hyper link to find the key code you want

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...