08.05.2012, 09:25
How i can attach an object on every bought car?? like,when i buy a DFT, to apear the object whenever a player buy this car from dealer.
AttachObjectToVehicle(objectid,(CreateVehicle(,,,,,,)),x,y,z,rot)
new car122 = AddStaticVehicleEx(500, -12.3448, 32.9969, 3.3259, 0.0000, -1, -1, 100);
new object122 = CreateDynamicObject(19127, -12.45, 34.96, 4.09, 0.00, 0.00, 0.00);
AttachObjectToVehicle(object122, car122, 0.769999, 0.314999, 1.359998, -0.435003, 0.000000, 0.000000);