yuraok3
Умник
Добрый день вырезаю систему поездов из мода аризона все работает кроме текста на них пробывал разные способы и отдельно каждому не получается подскажите что не так?
Код:
if(GetVehicleModel(vehicleid) == 538)
{
avtock[vehicleid] = CreateDynamicObject(19327,0.0, 0.0, -1000.0, 0.0, 0.0, 0.0, -1, -1, -1, 300.0);
SetDynamicObjectMaterialText(avtock[vehicleid], 0, "t", 130, "Webdings", 130, 0, 0xFF696969, 0, 1);
AttachDynamicObjectToVehicle(avtock[vehicleid], vehicleid, 1.501,-6.544,0.010,0.000,0.000,90.000);
avtock[vehicleid] = CreateDynamicObject(19327,0.0, 0.0, -1000.0, 0.0, 0.0, 0.0, -1, -1, -1, 300.0);
SetDynamicObjectMaterialText(avtock[vehicleid], 0, "t", 130, "Webdings", 130, 0, 0xFF696969, 0, 1);
AttachDynamicObjectToVehicle(avtock[vehicleid], vehicleid, -1.516,-6.716,0.010,0.000,0.000,-90.000);
avtock[vehicleid] = CreateDynamicObject(19327,0.0, 0.0, -1000.0, 0.0, 0.0, 0.0, -1, -1, -1, 300.0);
SetDynamicObjectMaterialText(avtock[vehicleid], 0, "Arizona", 130, "Georgia", 110, 1, 0xFF000000, 0, 1);
AttachDynamicObjectToVehicle(avtock[vehicleid], vehicleid, -1.508,-2.711,-0.084,0.000,0.000,-90.000);
avtock[vehicleid] = CreateDynamicObject(19327,0.0, 0.0, -1000.0, 0.0, 0.0, 0.0, -1, -1, -1, 300.0);
SetDynamicObjectMaterialText(avtock[vehicleid], 0, "Railway", 130, "Georgia", 110, 1, 0xFF000000, 0, 1);
AttachDynamicObjectToVehicle(avtock[vehicleid], vehicleid, -1.508,-5.052,-0.084,0.000,0.000,-90.000);
avtock[vehicleid] = CreateDynamicObject(19327,0.0, 0.0, -1000.0, 0.0, 0.0, 0.0, -1, -1, -1, 300.0);
SetDynamicObjectMaterialText(avtock[vehicleid], 0, "Arizona", 130, "Georgia", 110, 1, 0xFF000000, 0, 1);
AttachDynamicObjectToVehicle(avtock[vehicleid], vehicleid, 1.494,-5.052,-0.084,0.000,0.000,90.000);
avtock[vehicleid] = CreateDynamicObject(19327,0.0, 0.0, -1000.0, 0.0, 0.0, 0.0, -1, -1, -1, 300.0);
SetDynamicObjectMaterialText(avtock[vehicleid], 0, "Railway", 130, "Georgia", 110, 1, 0xFF000000, 0, 1);
AttachDynamicObjectToVehicle(avtock[vehicleid], vehicleid, 1.494,-2.711,-0.084,0.000,0.000,90.000);
avtock[vehicleid] = CreateDynamicObject(19327,0.0, 0.0, -1000.0, 0.0, 0.0, 0.0, -1, -1, -1, 300.0);
SetDynamicObjectMaterialText(avtock[vehicleid], 0, "Arizona", 130, "Georgia", 110, 1, 0xFF696969, 0, 1);
AttachDynamicObjectToVehicle(avtock[vehicleid], vehicleid, -1.51600, -2.69100, -0.06800, 0.00000, 0.00000, -90.00000);
avtock[vehicleid] = CreateDynamicObject(19327,0.0, 0.0, -1000.0, 0.0, 0.0, 0.0, -1, -1, -1, 300.0);
SetDynamicObjectMaterialText(avtock[vehicleid], 0, "Railway", 130, "Georgia", 110, 1, 0xFF696969, 0, 1);
AttachDynamicObjectToVehicle(avtock[vehicleid], vehicleid, -1.51600, -5.03800, -0.06800, 0.00000, 0.00000, -90.00000);
avtock[vehicleid] = CreateDynamicObject(19327,0.0, 0.0, -1000.0, 0.0, 0.0, 0.0, -1, -1, -1, 300.0);
SetDynamicObjectMaterialText(avtock[vehicleid], 0, "Arizona", 130, "Georgia", 110, 1, 0xFF696969, 0, 1);
AttachDynamicObjectToVehicle(avtock[vehicleid], vehicleid, 1.50200, -5.07600, -0.06800, 0.00000, 0.00000, 90.00000);
avtock[vehicleid] = CreateDynamicObject(19327,0.0, 0.0, -1000.0, 0.0, 0.0, 0.0, -1, -1, -1, 300.0);
SetDynamicObjectMaterialText(avtock[vehicleid], 0, "Railway", 130, "Georgia", 110, 1, 0xFF696969, 0, 1);
AttachDynamicObjectToVehicle(avtock[vehicleid], vehicleid, 1.50200, -2.73100, -0.06800, 0.00000, 0.00000, 90.00000);
avtock[vehicleid] = CreateDynamicObject(19327,0.0, 0.0, -1000.0, 0.0, 0.0, 0.0, -1, -1, -1, 300.0);
SetDynamicObjectMaterialText(avtock[vehicleid], 0, "_____________", 130, "Georgia", 110, 1, 0xFF000000, 0, 1);
AttachDynamicObjectToVehicle(avtock[vehicleid], vehicleid, -1.508,-2.711,-0.2040,0.000,0.000,-90.000);
avtock[vehicleid] = CreateDynamicObject(19327,0.0, 0.0, -1000.0, 0.0, 0.0, 0.0, -1, -1, -1, 300.0);
SetDynamicObjectMaterialText(avtock[vehicleid], 0, "_____________", 130, "Georgia", 110, 1, 0xFF000000, 0, 1);
AttachDynamicObjectToVehicle(avtock[vehicleid], vehicleid, -1.508,-4.9320,-0.2040,0.000,0.000,-90.000);
avtock[vehicleid] = CreateDynamicObject(19327,0.0, 0.0, -1000.0, 0.0, 0.0, 0.0, -1, -1, -1, 300.0);
SetDynamicObjectMaterialText(avtock[vehicleid], 0, "_____________", 130, "Georgia", 110, 1, 0xFF000000, 0, 1);
AttachDynamicObjectToVehicle(avtock[vehicleid], vehicleid, 1.494,-4.9320,-0.2040,0.000,0.000,90.000);
avtock[vehicleid] = CreateDynamicObject(19327,0.0, 0.0, -1000.0, 0.0, 0.0, 0.0, -1, -1, -1, 300.0);
SetDynamicObjectMaterialText(avtock[vehicleid], 0, "_____________", 130, "Georgia", 110, 1, 0xFF000000, 0, 1);
AttachDynamicObjectToVehicle(avtock[vehicleid], vehicleid, 1.494,-2.711,-0.2040,0.000,0.000,90.000);
avtock[vehicleid] = CreateDynamicObject(19327,0.0, 0.0, -1000.0, 0.0, 0.0, 0.0, -1, -1, -1, 300.0);
SetDynamicObjectMaterialText(avtock[vehicleid], 0, "_____________", 130, "Georgia", 110, 1, 0xFF696969, 0, 1);
AttachDynamicObjectToVehicle(avtock[vehicleid], vehicleid, -1.51600, -2.69100, -0.2040, 0.00000, 0.00000, -90.00000);
avtock[vehicleid] = CreateDynamicObject(19327,0.0, 0.0, -1000.0, 0.0, 0.0, 0.0, -1, -1, -1, 300.0);
SetDynamicObjectMaterialText(avtock[vehicleid], 0, "_____________", 130, "Georgia", 110, 1, 0xFF696969, 0, 1);
AttachDynamicObjectToVehicle(avtock[vehicleid], vehicleid, -1.51600, -4.9320, -0.2040, 0.00000, 0.00000, -90.00000);
avtock[vehicleid] = CreateDynamicObject(19327,0.0, 0.0, -1000.0, 0.0, 0.0, 0.0, -1, -1, -1, 300.0);
SetDynamicObjectMaterialText(avtock[vehicleid], 0, "_____________", 130, "Georgia", 110, 1, 0xFF696969, 0, 1);
AttachDynamicObjectToVehicle(avtock[vehicleid], vehicleid, 1.50200, -4.9320, -0.2040, 0.00000, 0.00000, 90.00000);
avtock[vehicleid] = CreateDynamicObject(19327,0.0, 0.0, -1000.0, 0.0, 0.0, 0.0, -1, -1, -1, 300.0);
SetDynamicObjectMaterialText(avtock[vehicleid], 0, "_____________", 130, "Georgia", 110, 1, 0xFF696969, 0, 1);
AttachDynamicObjectToVehicle(avtock[vehicleid], vehicleid, 1.50200, -2.73100, -0.2040, 0.00000, 0.00000, 90.00000);
