Code: Select all
_veh = this;
if (local _veh) then {
{
if ((_x select 0) == "Turret") then {_veh enablePersonTurret [(_x select 1),false] };
} forEach ((typeOf _veh) call bis_fnc_vehicleRoles);
};
Code: Select all
_veh = this;
if (local _veh) then {
{
if ((_x select 0) == "Turret") then {_veh enablePersonTurret [(_x select 1),false] };
} forEach ((typeOf _veh) call bis_fnc_vehicleRoles);
};