Added a condition which checks if the inventory is busy while using the hotbar items. So, if the inventory is busy then player will also not be able to use the items in hotbar. It fixes a lot of duping glitches.
Checklist
[x] I have personally loaded this code into an updated qbcore project and checked all of its functionality.
Description
Added a condition which checks if the inventory is busy while using the hotbar items. So, if the inventory is busy then player will also not be able to use the items in hotbar. It fixes a lot of duping glitches.
Checklist