04.07.2013, 14:10
I've changed this:
To this:
As you told me to do and now the gate doesn't opening when /gate or horn.
EDIT: I've changed the MoveObject to MoveDynamicObject and the gate is opening but not slowly with speed.
And when i horn, the gate doesn't open.
Код:
MoveObject(pdbarriergateobj, 1544.681640625, -1630.8924560547, 13.3, 180, 180, 90, 1.5);
Код:
MoveObject(pdbarriergateobj, 1544.681640625, -1630.8924560547, 13.3, 1.5, 180, 180, 90);
EDIT: I've changed the MoveObject to MoveDynamicObject and the gate is opening but not slowly with speed.
And when i horn, the gate doesn't open.
Код:
#define PRESSED(%0) \ (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0))) //Detecting keys