_tex = _this select 0;

_camo = _this select 1;

_tex setObjectTexture [8,"textures\m1a1\m1abrams_01_co.paa"];
_tex setObjectTexture [9,"textures\m1a1\m1abrams_02_co.paa"];
_tex setObjectTexture [10,"textures\m1a1\m1abrams_03_co.paa"];
_tex setObjectTexture [11,"textures\m1a1\m1abrams_04_co.paa"];
_tex setObjectTexture [12,"textures\m1a1\m1abrams_track_co.paa"];


//the following code is here to fix a bug with setObjectTexture command in singleplayer games
sleep 0.1;

waitUntil {time == 0};

missions_textures = [_tex] execVM "textures_m1a1.sqf"