qbcore-framework / qb-weapons

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

Update main.lua for weapon swaping issue #191

Closed warlikeprince closed 1 month ago

warlikeprince commented 1 month 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):