<aside> ⚡ script "core_getweaponammo2" (void)

</aside>

Usage


Returns the current secondary ammo of the calling player’s weapon, if it exists.

<aside> 🚨 The result of this script is only meaningful for weapons defined using [DefineWeapon](<https://mm8bdm.notion.site/DefineWeapon-6a4db7e06fb0415e8f80c3407c378ff8>)! Refrain from calling this script in scenarios where the player’s current weapon is not defined to avoid getting solely false / garbage results.

</aside>

Return Value

The current secondary ammo of the calling player’s weapon, if it exists.

See Also


core_getweaponammo

core_getweaponammocapacity

core_getweaponammo2capacity

core_CanGainAmmo