[how] Move object ( attach to vehicle )
#1

Hi guys


I make this object http://postimg.org/image/712ieskxd/

how to move this object ??

i make this http://postimg.org/image/e4bpszso7/ but no working
Reply
#2

https://sampwiki.blast.hk/wiki/AttachObjectToVehicle
Reply
#3

Quote:
Originally Posted by zombieking
Посмотреть сообщение
Thanks but See this http://postimg.org/image/712ieskxd/ i know how to make object to vehicle

but i want , how to move it
Reply
#4

try
pawn Код:
new obj1, car1;
    car1 = AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2); // Your Car
    obj1 = CreateObject(18648,0,0,0,0,0,0); // create your object
    AttachObjectToVehicle(obj1, car1, -0.8, 0.0, -0.55, 0.0, 0.0, 0.0); // edit only 0.8, 0.0 and -0.55..don't edit other 3 things
Reply
#5

Quote:
Originally Posted by MrTinder
Посмотреть сообщение
try
pawn Код:
new obj1, car1;
    car1 = AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2); // Your Car
    obj1 = CreateObject(18648,0,0,0,0,0,0); // create your object
    AttachObjectToVehicle(obj1, car1, -0.8, 0.0, -0.55, 0.0, 0.0, 0.0); // edit only 0.8, 0.0 and -0.55..don't edit other 3 things
how to move it
Reply
#6

try
pawn Код:
MoveObject(aa, 0, 0, 10, 2.00);
just edit time and cords
Reply
#7

Quote:
Originally Posted by MrTinder
Посмотреть сообщение
try
pawn Код:
MoveObject(aa, 0, 0, 10, 2.00);
just edit time and cords
not work
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)