hellstorm77 2 Posted June 26, 2013 Has anyone made a class base ammo box? What i mean is only AT can see AT rockets, Machine Gunners can only see Machine Guns Share this post Link to post Share on other sites
samatra 85 Posted June 26, 2013 you can do that with: http://community.bistudio.com/wiki/createVehicleLocal and then fill with whatever you want http://community.bistudio.com/wiki/addWeaponCargo http://community.bistudio.com/wiki/addMagazineCargo http://community.bistudio.com/wiki/addItemCargo Share this post Link to post Share on other sites
hellstorm77 2 Posted June 26, 2013 I did try to make one but it didn't seem to work out right i'm kind of new to scripting Share this post Link to post Share on other sites
hellstorm77 2 Posted June 30, 2013 wondering if someone could help me with an error im getting My code [format["ammobox_%1",side player]] call mps_ammobox; ["ammobox_2"] call mps_ammobox; ["ammobox_3"] call mps_ammobox; ["ARTYAMMO"] call mps_ammobox; the error Error in expression <[format["ammobox_%1",side player]] call mps_ammobox; ["ammobox_2"] call mps_ammo> Error position: <mps_ammobox; ["ammobox_2"] call mps_ammo> Error Undefined variable in expression: mps_ammobox Share this post Link to post Share on other sites
Tuliq 2 Posted June 30, 2013 We need to know what the mps_ammobox function looks like. . ---------- Post added at 13:04 ---------- Previous post was at 13:03 ---------- looks like you didn't define it Share this post Link to post Share on other sites
hellstorm77 2 Posted June 30, 2013 You was right thanks Share this post Link to post Share on other sites