RuisSoftware/FiveM-Resources-2024

Ammo Duplication Glitch

Arcainex opened this issue · 1 comments

Describe the bug
When you spawn in a Pistol (as Item) and the ammo, if you put the pistol in the 1st slot and the ammo on the 2nd slot and spam R you'll pretty much dupe the ammo.

To Reproduce
Steps to reproduce the behavior:

  1. Put your pistol in 1st slot
  2. Put pistol ammo in 2nd slot
  3. Press R countless times
  4. See your ammo dupe

Expected behavior
When I press R it was supposed to unload the ammo in the pistol and load again

Screenshots
image
Code used to spawn ammo:
image

ESX version:

  • Version 1.2 Final

Additional context
Add any other context about the problem here.

Followed Wiki
Yes

Closing the issue just 5 seconds after opening:
The issue was that the ammo counts as a mag, so I had 15 mags.
Huge sorry !