08.06.2015, 14:54
Код:
CopCar[54] = AddStaticVehicleEx(411, 1759.9391,-1678.6993,13.2977,89.9601, 0, 0, CAR_RESPAWN); new sirena1 = CreateObject(19419, 0.0, 0.0, 0.7, 0.0, 0.0, 0.0); // AttachObjectToVehicle(sirena1, CopCar[55], 0.0072, -0.0263, 0.6324, 270.0, 0.0, 0.0); new sirena2 = CreateObject(19327, 0.0, 0.0, 0.0, 0.00000, 0.00000, 0.00000); // create the object SetObjectMaterialText(sirena2, "{FFFFFF}POLICE", 0,OBJECT_MATERIAL_SIZE_512x512, "Arial", 90, 1, 0xFFFFFF, 0x0000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER); //re-texture the object(and make it invisible) AttachObjectToVehicle(sirena2, CopCar[54], 0.0, -1.9, 0.3, 270.0, 0.0, 0.0);// attach and angle to the object