Describe the bug
Dupe combat pistol when you reload it and give it to another player
To Reproduce
Hello, we have made an installation of QBCore-Framework and we have found a bug regarding the use of a weapon, specifically the combat pistol.
When you spawn a combat pistol, you give it to another user having loaded it with bullets and you get into a vehicle, when aiming the weapon appears in your hand but it is not in the inventory.
This only occurs when the weapon has been previously reloaded.
We have performed the same test but without reloading the weapon, and the bug does not occur.
Describe the bug Dupe combat pistol when you reload it and give it to another player
To Reproduce Hello, we have made an installation of QBCore-Framework and we have found a bug regarding the use of a weapon, specifically the combat pistol.
When you spawn a combat pistol, you give it to another user having loaded it with bullets and you get into a vehicle, when aiming the weapon appears in your hand but it is not in the inventory.
This only occurs when the weapon has been previously reloaded.
We have performed the same test but without reloading the weapon, and the bug does not occur.
Here I post a video where you can see: https://youtu.be/2gd76tLDhdo
Expected behavior The expected behavior is that the weapon is given to the other player and the player who gave the weapon does not have it.
Screenshots
Questions (please complete the following information):
qb-
to something custom? -Additional context