Tolls
#1

Hi, I've just created a toll system, but the tolls are not opening when I do /opentoll.
Here's the code for one of the tolls:
Код:
TollData[tollBarriers][0] = CreateDynamicObject(968, 1738.59460, 530.57202, 27.36010,   0.00000, 90.00000, 160.36710);
This line should open the toll (set rot Y to 0 which will open it):
Код:
MoveObject(TollData[tollBarriers][0], 1738.59460, 530.57202, 27.36010, 2.0, 0.00000, 0.00000, 160.36710);
But the toll doesn't move at all, what am I doing wrong here? Basically I just copied and pasted the coordinates of the toll there and changed the rot Y to 0. I've never used MoveObject before though so I might be doing something wrong.
Reply


Messages In This Thread
Tolls - by GoldenLion - 03.09.2016, 21:34
Re: Tolls - by saffierr - 03.09.2016, 21:45
Re: Tolls - by Ultraz - 03.09.2016, 21:46
Re: Tolls - by GoldenLion - 03.09.2016, 21:46
Re: Tolls - by GoldenLion - 04.09.2016, 10:32
Re: Tolls - by Vince - 04.09.2016, 10:41
Re: Tolls - by Logic_ - 04.09.2016, 10:50
Re: Tolls - by GoldenLion - 04.09.2016, 11:04
Re: Tolls - by Sjn - 04.09.2016, 11:17
Re: Tolls - by GoldenLion - 04.09.2016, 11:22

Forum Jump:


Users browsing this thread: 3 Guest(s)