You have a full magazine, 30 rounds and you mount a vehicle, then you ask {player ammo primaryWeapon player} you will get 0. It's the same with secondaryWeapon and handgunWeapon.
Description
Description
Details
Details
- Legacy ID
- 1201573075
- Severity
- None
- Resolution
- Fixed
- Reproducibility
- Always
- Category
- Scripting
Steps To Reproduce
Open editor. Place a vehicle and a soldier. Press "PREVIEW" then open Debug console and type: systemChat str (player ammo primaryWeapon player); you will get the right amount of ammo in your current magazine. Now get in the vehicle and run the command again and you will get 0 returned.
Event Timeline
Comment Actions
This has been already fixed in version v1.55.133505 and above of DEV branch and should appear in the next stable release.