qbcore-framework / qb-weapons

Weapon Logic Script For QB-Core :gun:
GNU General Public License v3.0
29 stars 195 forks source link

Update main.lua for weapon swaping issue #191

Closed warlikeprince closed 5 months ago

warlikeprince commented 5 months ago

Describe Pull request If you holding any weapon and trying to switch from one weapon to another, it just showing the animation but not geting the weapon in hand. So i made the changes and seperate the logic for current weapon for weapon unarmed. It will fixes the weapon switching issue, and work fine with no other erros.

If your PR is to fix an issue mention that issue here https://github.com/qbcore-framework/qb-smallresources/issues/462

Questions (please complete the following information):