So i downloaded crinkly's twisted menu edit, but the give ammo option doesn't work and when i spawn a gun in it only gives me 1 clip.
Here is the code for the give ammo
Give ammo:
_unit = _this select 0;
_weapon = currentWeapon _unit;
_cfg = getArray (configFile >> "CfgWeapons" >> _weapon >> "magazines");
_unit addMagazine (_cfg select 0);
_unit addMagazine (_cfg select 0);
_unit addMagazine (_cfg select 0);
_unit addMagazine (_cfg select 0);
_unit addMagazine (_cfg select 0);
Can anyone help? I tried several things but i'm a n00b and i don't know why the hell it isnt working. Help would be much appreciated
