src/XPMPMultiplayer.cpp
int     XPMPChangePlaneModel(XPMPPlaneID            _id,
                             const char *           inICAO,
                             const char *           inAirline,
                             const char *           inLivery)
{
    Aircraft* pAc = AcFindByID(_id);
    if (pAc)
        return pAc->ChangeModel(inICAO      ? inICAO : "",
                                inAirline   ? inAirline : "",
                                inLivery    ? inLivery : "");
    else
        return -1;
}
// Change a plane's model
Change a plane's model
Change a plane ' s model
int     XPMPChangePlaneModel(XPMPPlaneID            _id,
                             const char *           inICAO,
                             const char *           inAirline,
                             const char *           inLivery)
{
    Aircraft* pAc = AcFindByID(_id);
    if (pAc)
        return pAc->ChangeModel(inICAO      ? inICAO : "",
                                inAirline   ? inAirline : "",
                                inLivery    ? inLivery : "");
    else
        return -1;
}
int XPMPChangePlaneModel ( XPMPPlaneID _id , const char * inICAO , const char * inAirline , const char * inLivery ) { Aircraft * pAc = AcFindByID ( _id ) ; if ( pAc ) return pAc -> ChangeModel ( inICAO ? inICAO : " " , inAirline ? inAirline : " " , inLivery ? inLivery : " " ) ; else return -1 ; }
Change a plane's model
Change a plane ' s model