HelllBladePlay Posted June 3, 2019 Share Posted June 3, 2019 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? Link to comment Share on other sites More sharing options...
robearded Posted June 3, 2019 Share Posted June 3, 2019 https://wiki.rage.mp/index.php?title=Controls::disableControlAction Link to comment Share on other sites More sharing options...
HelllBladePlay Posted June 3, 2019 Author Share Posted June 3, 2019 8 минут назад, robearded сказал: https://wiki.rage.mp/index.php?title=Controls::disableControlAction 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 Link to comment Share on other sites More sharing options...
robearded Posted June 3, 2019 Share Posted June 3, 2019 (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 June 3, 2019 by robearded Link to comment Share on other sites More sharing options...
HelllBladePlay Posted June 3, 2019 Author Share Posted June 3, 2019 1 минуту назад, robearded сказал: Put it inside the render event function thanks you its work 1 Link to comment Share on other sites More sharing options...
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