Please help mermaids
#2

Код:
 AttachObjectToVehicle(sirena2, CopCar[55], 0.0, -1.9, 0.3, 270.0, 0.0, 0.0);
You have attached the lightbar to the back of the vehicle, because of the co-ordinates you set.

Код:
 AttachObjectToVehicle(sirena2, CopCar[55], 0.0072, -0.0263, 0.6324, 270.0, 0.0, 0.0);
This code has the correct co-ordinates to sync the lightbar. To create the "police" at the back :

Код:
new sirena1 = CreateObject(19327, 0.0, 0.0, 0.0,   0.00000, 0.00000, 0.00000); // create the object
SetObjectMaterialText(sirena1, "POLICE", 0,OBJECT_MATERIAL_SIZE_512x512,
"Arial", 90, 1, 0xFF000000, 0x0000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER); //re-texture the object(and make it invisible)
AttachObjectToVehicle(sirena1, CopCar[54], 0.0, -1.9, 0.3, 270.0, 0.0, 0.0);// attach and angle to the object
Reply


Messages In This Thread
Please help mermaids - by Jimmi - 08.06.2015, 13:25
Re: Please help mermaids - by FrankTimber - 08.06.2015, 13:55
Re: Please help mermaids - by JaydenJason - 08.06.2015, 14:00
Re: Please help mermaids - by Jimmi - 08.06.2015, 14:15
Re: Please help mermaids - by JaydenJason - 08.06.2015, 14:35
Re: Please help mermaids - by Jimmi - 08.06.2015, 14:40
Re: Please help mermaids - by FrankTimber - 08.06.2015, 14:54
Re: Please help mermaids - by Jimmi - 08.06.2015, 16:36
Re: Please help mermaids - by Jimmi - 08.06.2015, 16:56
Re: Please help mermaids - by Jimmi - 08.06.2015, 17:50

Forum Jump:


Users browsing this thread: 1 Guest(s)