if i paste this in will it work?
//Gunner 3
_man4heli = _groupheli createunit [_riflemenlist call SAR_fnc_selectRandom, [_rndpos select 0, (_rndpos select 1) + 30, 0], [], 0.5, "NONE"];
_soldier_weapon_names = ["rifleman",_type] call SAR_unit_loadout_weapons;
_soldier_items = ["rifleman",_type] call SAR_unit_loadout_items;
_soldier_tools = ["rifleman",_type] call SAR_unit_loadout_tools;
[_man4heli,_soldier_weapon_names,_soldier_items,_soldier_tools] call SAR_unit_loadout;
_man4heli setVehicleInit _initstring;
//_man4heli action ["getInTurret", _heli,[2]];
_man4heli moveInTurret [_heli,[2]];
_man4heli addMPEventHandler ["MPkilled", {Null = _this spawn SAR_AI_killed;}];
_man4heli addMPEventHandler ["MPHit", {Null = _this spawn SAR_AI_hit;}];
[_man4heli] joinSilent _groupheli;
// set skills
{
_man4heli setskill [_x select 0,(_x select 1 +(floor(random 2) * (_x select 2)))];
} foreach _sniperskills;
// store AI type on the AI
_man4heli setVariable ["SAR_AI_type",_ai_type,false];
// store experience value on AI
_man4heli setVariable ["SAR_AI_experience",0,false];
//Gunner 3
_man4heli = _groupheli createunit [_riflemenlist call SAR_fnc_selectRandom, [_rndpos select 0, (_rndpos select 1) + 30, 0], [], 0.5, "NONE"];
_soldier_weapon_names = ["rifleman",_type] call SAR_unit_loadout_weapons;
_soldier_items = ["rifleman",_type] call SAR_unit_loadout_items;
_soldier_tools = ["rifleman",_type] call SAR_unit_loadout_tools;
[_man4heli,_soldier_weapon_names,_soldier_items,_soldier_tools] call SAR_unit_loadout;
_man4heli setVehicleInit _initstring;
//_man4heli action ["getInTurret", _heli,[2]];
_man4heli moveInTurret [_heli,[2]];
_man4heli addMPEventHandler ["MPkilled", {Null = _this spawn SAR_AI_killed;}];
_man4heli addMPEventHandler ["MPHit", {Null = _this spawn SAR_AI_hit;}];
[_man4heli] joinSilent _groupheli;
// set skills
{
_man4heli setskill [_x select 0,(_x select 1 +(floor(random 2) * (_x select 2)))];
} foreach _sniperskills;
// store AI type on the AI
_man4heli setVariable ["SAR_AI_type",_ai_type,false];
// store experience value on AI
_man4heli setVariable ["SAR_AI_experience",0,false];