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
reloadPedWeapon doesn't work when the player is aiming.
To Reproduce
Click F8 and type 'reloadPedWeapon(getPlayerFromName("[FO]Grafu"))'
Close F8
Aim your weapon
Click F8 again and click 'enter' to execute the script
Command results: true [boolean], the ped does nothing.
Expected behavior
Should return false for the situations outlined on the [reloadPedWeapon wiki page]. It currently returns
true.
MTA Client (please complete the following information):
1.5.3
MTA Server (please complete the following information):
1.5.3
Additional context
Well, the GTA function, which reloads the weapon whenever clip ammo reaches 0, works even when the ped is aiming. I guess the MTA one is just missing for some more memory modifications to work as the default one.
Describe the bug
reloadPedWeapon doesn't work when the player is aiming.
To Reproduce
Expected behavior
Should return false for the situations outlined on the [reloadPedWeapon wiki page]. It currently returns
true.
MTA Client (please complete the following information):
1.5.3
MTA Server (please complete the following information):
1.5.3
Additional context
Well, the GTA function, which reloads the weapon whenever clip ammo reaches 0, works even when the ped is aiming. I guess the MTA one is just missing for some more memory modifications to work as the default one.
From https://bugs.mtasa.com/view.php?id=9383
The text was updated successfully, but these errors were encountered: