<aside> ⚡ script "core_getweaponammo" (void)

</aside>

Usage


Returns the current primary ammo of the calling player’s weapon.

<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 primary ammo of the calling player’s weapon.

See Also


core_getweaponammo2

core_getweaponammocapacity

core_getweaponammo2capacity

core_CanGainAmmo