qbcore-redm-framework / qbr-core

RedM Core
GNU General Public License v3.0
17 stars 39 forks source link

Weapon + item wheel #23

Closed GhzGarage closed 10 months ago

GhzGarage commented 2 years ago
Demo4889 commented 1 year ago

I know it's not a great way to do it... but...

CreateThread(function() while true do Wait(0) if isLoggedIn then DisableControlAction(0, 0x580C4473, true) -- Left Alt (INPUT_HUD_SPECIAL) DisableControlAction(0, 0xCF8A4ECA, true) -- Left Alt (INPUT_REVEAL_HUD) DisableControlAction(0, 0x1F6D95E5, true) -- F4 (INPUT_SELECT_ITEM_WHEEL) end end end)

Figured I'd just throw this in there, unless you guys can find another way to do it that's better

DosKit commented 1 year ago

I went ahead and did a pull request to disable the Weapon Wheel and Item Wheel inside the inventory as it already had a thread disabling similar things - https://github.com/qbcore-redm-framework/qbr-inventory/pull/29