RICHMOND1
Новичок
Я добавил в мод над авто транспорта для сдачи на права 3DТекст "Учебная", можно ли как то код (который ниже) оптимизировать? или итак сойдет? 
PHP:
new ash1, Text3D:ascar1text; vAutoSchool[0] = ash1 = AddStaticVehicleEx(551,-2093.8000000,-84.4000000,35.0000000,180.0000000,1,1,300); //Merit
ascar1text = Create3DTextLabel("Учебный", 0xFF9900FF, 0.0, 0.0, 0.0, 10.0, 0, 0);
Attach3DTextLabelToVehicle(ascar1text, ash1, 0.0, 0.0, 1.1);
new ash2, Text3D:ascar2text; ash2 = AddStaticVehicleEx(551,-2089.3999000,-84.4000000,35.0000000,180.0000000,1,1,300); //Merit
ascar2text = Create3DTextLabel("Учебный", 0xFF9900FF, 0.0, 0.0, 0.0, 10.0, 0, 0);
Attach3DTextLabelToVehicle(ascar2text, ash2, 0.0, 0.0, 1.1);
new ash3, Text3D:ascar3text; ash3 = AddStaticVehicleEx(551,-2085.3999000,-84.4000000,35.0000000,180.0000000,1,1,300); //Merit
ascar3text = Create3DTextLabel("Учебный", 0xFF9900FF, 0.0, 0.0, 0.0, 10.0, 0, 0);
Attach3DTextLabelToVehicle(ascar3text, ash3, 0.0, 0.0, 1.1);
new ash4, Text3D:ascar4text; ash4 = AddStaticVehicleEx(551,-2081.2000000,-84.4000000,35.0000000,180.0000000,1,1,300); //Merit
ascar4text = Create3DTextLabel("Учебный", 0xFF9900FF, 0.0, 0.0, 0.0, 10.0, 0, 0);
Attach3DTextLabelToVehicle(ascar4text, ash4, 0.0, 0.0, 1.1);
new ash5, Text3D:ascar5text; ash5 = AddStaticVehicleEx(551,-2077.0996000,-84.4003900,35.0000000,180.0000000,1,1,300); //Merit
ascar5text = Create3DTextLabel("Учебный", 0xFF9900FF, 0.0, 0.0, 0.0, 10.0, 0, 0);
Attach3DTextLabelToVehicle(ascar5text, ash5, 0.0, 0.0, 1.1);
new ash6, Text3D:ascar6text; ash6 = AddStaticVehicleEx(551,-2072.8999000,-84.4000000,35.0000000,180.0000000,1,1,300); //Merit
ascar6text = Create3DTextLabel("Учебный", 0xFF9900FF, 0.0, 0.0, 0.0, 10.0, 0, 0);
Attach3DTextLabelToVehicle(ascar6text, ash6, 0.0, 0.0, 1.1);
new ash7, Text3D:ascar7text; ash7 = AddStaticVehicleEx(551,-2068.2998000,-84.4003900,35.0000000,180.0000000,1,1,300); //Merit
ascar7text = Create3DTextLabel("Учебный", 0xFF9900FF, 0.0, 0.0, 0.0, 10.0, 0, 0);
Attach3DTextLabelToVehicle(ascar7text, ash7, 0.0, 0.0, 1.1);
new ash8, Text3D:ascar8text; vAutoSchool[1] = ash8 = AddStaticVehicleEx(551,-2064.0996000,-84.4003900,35.0000000,180.0000000,1,1,300); //Merit
ascar8text = Create3DTextLabel("Учебный", 0xFF9900FF, 0.0, 0.0, 0.0, 10.0, 0, 0);
Attach3DTextLabelToVehicle(ascar8text, ash8, 0.0, 0.0, 1.1);
Последнее редактирование модератором:
