bool isVehicleStreamed ( int iVehicleID ) { auto * pNetGame = sampapi :: v037r3 :: RefNetGame ( ) ; if ( ! pNetGame ) return false ; auto * pVehiclePool = pNetGame -> GetVehiclePool ( ) ; if ( ! pVehiclePool ) return false ; auto pRemoteVehicle = pVehiclePool -> Get ( iVehicleID ) ; if ( ! pRemoteVehicle ) return false ; return true ; }