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

[BUG] Equipped weapon doesn't remove from player's hand when robbed #586

Open
chemicalfivem opened this issue Oct 4, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@chemicalfivem
Copy link

Summary

weapon_x doesn't change to weapon_unarmed

Reproduction

I haven't done anything to the inventory system, at all!
https://streamable.com/ckuuca
Here is a video of it happening

Expected behavior

I expected the weapon to be removed from active weapon slot when the player is being robbed for that weapon in their hands

Actual behavior

It doesn't change to weapon_unarmed

Additional context

No response

Last Updated

today

Custom Resources

codem hud & custom guns but have tried default gta guns as well

Resource Rename

no

@chemicalfivem chemicalfivem added the bug Something isn't working label Oct 4, 2024
@adhershmnair
Copy link
Contributor

This same issue can be reproducable in a different way by clearing a players inventory while he is equipped by a weapon. He will not be able to place the weapon back or drop it.

To fix this issue, he need a weapon item from someone else after clear inventory or he should die to drop the weapon in his hand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants