_plane = _this select 0

_AAM4count = _plane ammo "BOHaam4"
? (_AAM4count > 0) : _plane setobjecttexture[11, "\BOHJSDF4\AW\AAM4.paa"]
? (_AAM4count > 1) : _plane setobjecttexture[12, "\BOHJSDF4\AW\AAM4.paa"]
? (_AAM4count > 2) : _plane setobjecttexture[13, "\BOHJSDF4\AW\AAM4.paa"]
? (_AAM4count > 3) : _plane setobjecttexture[14, "\BOHJSDF4\AW\AAM4.paa"]

_AAM3count = _plane ammo "BOHaam3_4"
? (_AAM3count > 0) : _plane setobjecttexture[15, "\BOHJSDF4\AW\AAM3.paa"]
? (_AAM3count > 1) : _plane setobjecttexture[16, "\BOHJSDF4\AW\AAM3.paa"]
? (_AAM3count > 2) : _plane setobjecttexture[17, "\BOHJSDF4\AW\AAM3.paa"]
? (_AAM3count > 3) : _plane setobjecttexture[18, "\BOHJSDF4\AW\AAM3.paa"]


#Exit
exit