21.01.2012, 21:07
Instead of creating a variable for distance you should type the distance you would like the object to be created in.
Like this:
That would create the object 5 units behind the car.
Like this:
pawn Код:
GetXYBehindPoint(vehx, vehy, x2, y2, angle, 5);
CreateObject(1225,x2,y2,vehz,0.00000000,0.00000000,0.00000000);