Jump to content
  • 0

sqf command to get magazin capacity


ekroemer

Question

Hi all,

 

I fail to find a sqf command that will fetch me the capacity of a magazine, something like

_classname = "100Rnd_762x51_M240";
_maxRnd = GetAmmoCapacity(_classname);

with a result of 100 in the _maxRnd variable.

Surely there must be a way to do this without resorting to string analysis.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...