_plane = _this select 0

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

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


#Exit
exit