Спавн поездов, тоже нет синхры
JavaScript:
const trainModels = [
'freight', 'freightcar',
'freightgrain', 'freightcont1',
'freightcont2', 'freighttrailer',
'tankercar', 'metrotrain',
's_m_m_lsmetro_01',
];
trainModels.forEach((el) => {
mp.game.streaming.requestModel(mp.game.joaat(el));
mp.console.logInfo(`is loaded ${mp.game.streaming.hasModelLoaded(mp.game.joaat(el))}`);
});
mp.game.vehicle.createMissionTrain(3, 247.9364, -1198.597, 37.4482, true);