Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update main.lua for directly switch weapon #194

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

warlikeprince
Copy link

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
qbcore-framework/qb-smallresources#462

Questions (please complete the following information):

  • Have you personally loaded this code into an updated qbcore project and checked all it's functionality? [yes]
  • Does your code fit the style guidelines? [yes]
  • Does your PR fit the contribution guidelines? [yes]

@mhyssasilva
Copy link

It's working but you see the new weapon you want to switch directly in the animation when you pull the old one ahah

@warlikeprince
Copy link
Author

Yes im working on it for animations.

@mhyssasilva
Copy link

Nice ! Tell me when it's done, and good luck !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants