qbcore-framework / qb-weapons

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

[BUG] - Weapon reloading not saving ammo #125

Closed w4fflz closed 2 years ago

w4fflz commented 2 years ago

Describe the bug When reloading a gun and putting it away and then taking it back out, the ammo that was just loaded is gone

To Reproduce Steps to reproduce the behavior:

  1. Pull out gun
  2. Load ammo
  3. Put gun away
  4. Take gun back out

Expected behavior Ammo should still be in gun

Screenshots Clip - https://medal.tv/games/gta-v/clips/w8iToJQemxfvU/d1337Y6xW59s?invite=cr-MSxHancsMzQyMTE4ODYs

Questions (please complete the following information):

Additional context Add any other context about the problem here.

@GhzGarage

w4fflz commented 2 years ago

Issue appears to be related to ps-fuel. I revered back to LegacyFuel this morning and no longer having the issue. This part of the ps-fuel seems to be what is breaking it.

image

ChatDisabled commented 2 years ago

As stated not a QBCore problem + just tested without issue. @Wafflzdev close the ticket?