IsVehicleType(vehicleid, type) { new veh = VehicleInfo[vehicleid][FEILD_NAME]; while (type) { if (type & 1) { if (!veh & 1) return false; } type >>>= 1; } return true; }