XPLMDisableAIForPlane

XPLM_API void       XPLMDisableAIForPlane(
                         int                  inPlaneIndex);

This routine turns off X-Plane’s AI for a given plane. The plane will continue to draw and be a real plane in X-Plane, but will not move itself.