IsAirplane(vehicleid){ switch(GetVehicleModel(vehicleid)) { case 460, 476, 511 .. 513: return 1; default: return 0; } return 0;}//usageif(IsAirplane(vehicleid)){ //..}