Help with gate..
#1

**DELETE
Reply
#2

As i can see, you are not moving any object. See this:

pawn Код:
Toll_1 = CreateDynamicObject(3578, 1801.00, 692.66, 10.00, 1801.00, 692.66, 30);
and when you want to open the toll you use:

pawn Код:
//function
MoveDynamicObject(Toll_1, 1801.00, 692.66, 10.00, 30);
You need to change de Z position to make the toll change his position.

You can use this:

pawn Код:
Toll_1 = CreateDynamicObject(3578, 1801.00, 692.66, 20.00, 1801.00, 692.66, 30); //iґm not sure if 20.00 is correct, you can try with different values.
pawn Код:
//function
MoveDynamicObject(Toll_1, 1801.00, 692.66, 10.00, 30); //you will make the toll go down.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)