ARRAY = getVehiclesOfSide <SIDE>;
The reason is filtering on the SQF side is quite slow
0.010 ms vehicles // 70 0.116 ms 8627/10000 vehicles select {side _x isEqualTo west} // 23 0.116 ms 8608/10000 vehicles select {side _x isEqualTo independent} // 11 0.113 ms 8813/10000 vehicles select {side _x isEqualTo civilian} // 36