24.08.2015, 15:21
I've tried attaching an object to a vehicle, and in game it doesn't work?
Anyone can help?
Thanks!
Код:
new SirenC; SirenC = CreateObject(19419, 10.0, 10.0, 10.0, 0, 0, 0); AttachObjectToVehicle(SirenC, SDCar[0], -0.039999, -0.469999, 0.669999, 0.000000, 0.000000, 0.000000); AttachObjectToVehicle(SirenC, SDCar[1], -0.039999, -0.469999, 0.669999, 0.000000, 0.000000, 0.000000); AttachObjectToVehicle(SirenC, SDCar[2], -0.039999, -0.469999, 0.69999, 0.000000, 0.000000, 0.000000); AttachObjectToVehicle(SirenC, SDCar[3], -0.039999, -0.469999, 0.669999, 0.000000, 0.000000, 0.000000); AttachObjectToVehicle(SirenC, SDCar[4], -0.039999, -0.469999, 0.669999, 0.000000, 0.000000, 0.000000);
Thanks!