_loadout = _this select 0;

	_loadout_00 = 
	{
		_loadout removeMagazines "CH_27Rnd_M829A2";
		_loadout removeMagazines "CH_3Rnd_M830A1";
		_loadout removeMagazines "CH_13Rnd_M830A1";
		_loadout removeMagazines "CH_2Rnd_M830";
		_loadout removeMagazines "CH_5Rnd_M908";
		_loadout removeMagazines "CH_2800Rnd_762x51_M240";

		_loadout removeWeapon "CH_M256_M1A1";
		_loadout removeWeapon "CH_M240C_veh_M1A1";

		_loadout addMagazine "CH_27Rnd_M829A2";
		_loadout addMagazine "CH_13Rnd_M830A1";
		_loadout addMagazine "CH_2800Rnd_762x51_M240"; _loadout addMagazine "CH_2800Rnd_762x51_M240"; _loadout addMagazine "CH_2800Rnd_762x51_M240"; _loadout addMagazine "CH_2800Rnd_762x51_M240";

		_loadout addWeapon "CH_M256_M1A1";
		_loadout addWeapon "CH_M240C_veh_M1A1";
	};

	_loadout_01 = 
	{
		_loadout removeMagazines "CH_27Rnd_M829A2";
		_loadout removeMagazines "CH_3Rnd_M830A1";
		_loadout removeMagazines "CH_13Rnd_M830A1";
		_loadout removeMagazines "CH_2Rnd_M830";
		_loadout removeMagazines "CH_5Rnd_M908";
		_loadout removeMagazines "CH_2800Rnd_762x51_M240";

		_loadout removeWeapon "CH_M256_M1A1";
		_loadout removeWeapon "CH_M240C_veh_M1A1";

		_loadout addMagazine "CH_2Rnd_M830";
		_loadout addMagazine "CH_5Rnd_M908";
		_loadout addMagazine "CH_3Rnd_M830A1";
		_loadout addMagazine "CH_2800Rnd_762x51_M240"; _loadout addMagazine "CH_2800Rnd_762x51_M240"; _loadout addMagazine "CH_2800Rnd_762x51_M240"; _loadout addMagazine "CH_2800Rnd_762x51_M240"; _loadout addMagazine "CH_2800Rnd_762x51_M240"; _loadout addMagazine "CH_2800Rnd_762x51_M240"; _loadout addMagazine "CH_2800Rnd_762x51_M240"; _loadout addMagazine "CH_2800Rnd_762x51_M240";

		_loadout addWeapon "CH_M256_M1A1";
		_loadout addWeapon "CH_M240C_veh_M1A1";
	};


switch (_this select 1) do 
{
	case "anti-tank" : 
	{
		[] call _loadout_00;
	};

	case "anti-personnel" : 
	{
		[] call _loadout_01;
	};
};