HelllBladePlay

[help] unbind default gta keys

Recommended Posts

I bind my action to the number buttons.

mp.keys.bind(0x31, true, function() {
    mp.events.callRemote('myAction')
})

is it possible to disable the gta weapons selector?

Share this post


Link to post
Share on other sites
Posted (edited)
7 minutes ago, HelllBladePlay said:
mp.game.controls.disableControlAction(24, 157, true)
mp.game.controls.disableControlAction(24, 37, true)

I wrote it to disable TAB and number 1 but it did not help

Put it inside the render event function

Edited by robearded

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.