Attacht Object to Vehicle
#1

How can i attacht a object to vehicle
i got this but this is not working

pawn Код:
new objectid, vehicleid;
objectid = CreateObject(1575, -0.34, -0.56, -0.04,   0.00, 0.00, 0.00);
vehicleid = CreateVehicle(473, 0.0000, 0.0000, 0.0000, 0.0000, -1, -1, 100);
AttachObjectToVehicle(objectid, vehicleid, -0.34, -0.56, -0.04,   0.00, 0.00, 0.00);
SetVehiclePos(vehicleid, 0.00, 0.00, 6.00);
Reply
#2

What's not working?
Reply
#3

The object doesnt not show up
Reply
#4

It's positioned on the wrong coordinates. And maybe it went inside the car.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)