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

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

  • Recently Browsing   0 members

    No registered users viewing this page.