Jump to content
RAGE Multiplayer Community

open chat T problem with typing


nikola91
 Share

Recommended Posts

i try some script by my own but dosnt work,problem is when i open chat with T and then i write something in chat and i have function on my invertory sistem to open with press "i" when i type and write in chat my invertory sistem get open coz i press "i" while i typing in chat.

any suggestion and easy solution for this problem?

Edited by nikola91
Link to comment
Share on other sites

  • 1 month later...

simple solution. block keybind when you already have cursor visible (which happens when you have chat or browser open as long as you did not change that😞

mp.keys.bind(0x45, false, function() {
    if (mp.gui.cursor.visible) return;
    here-you-would-open-browser-for-inventory-which-is-not-executed-if-cursor-is-displayed
});

 

Edited by cmdflow
  • Like 2
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...