You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you run out of ammo when firing a weapon and decide to set the slot to 0, the ammo in clip of that weapon will stick to 0 and won't reload once taking the weapon again.
To Reproduce
Fire the weapon till the clip ammo goes 0
Once the player starts reloading, do 'crun setPedWeaponSlot(localPlayer, 0)'. This has to be done before the player finishes reloading.
Set the slot back to the previous weapon
Ammo in clip stays at 0 and doesn't want to reload (reloadPedWeapon doesn't work for weapons like rocket launchers, sniper).
Expected behavior
Player should reload weapon when switching back to that weapon.
Screenshots
If applicable, add screenshots to help explain your problem.
MTA Client (please complete the following information):
1.5.5
MTA Server (please complete the following information):
1.5.5
Describe the bug
If you run out of ammo when firing a weapon and decide to set the slot to 0, the ammo in clip of that weapon will stick to 0 and won't reload once taking the weapon again.
To Reproduce
Expected behavior
Player should reload weapon when switching back to that weapon.
Screenshots
If applicable, add screenshots to help explain your problem.
MTA Client (please complete the following information):
1.5.5
MTA Server (please complete the following information):
1.5.5
Additional context
https://bugs.mtasa.com/view.php?id=8637
The text was updated successfully, but these errors were encountered: