06.12.2011, 16:57
Yes i used that but it doesnt turn at all i got this:
^For closed gate
For open gate
But it does turn... :S just keeps there like a rock.
How to fix that?
pawn Код:
// Close the gate
MoveObject(ATollGates[TollGate][GateID], ATollGates[TollGate][CloseX], ATollGates[TollGate][CloseY], ATollGates[TollGate][CloseZ]- 0.0001, 3.0, 90.0, -1000.0, -1000.0);
pawn Код:
MoveObject(ATollGates[TollGate][GateID], ATollGates[TollGate][OpenX], ATollGates[TollGate][OpenY], ATollGates[TollGate][OpenZ]+ 0.0001, 3.0, 0.0, -1000.0, -1000.0);
But it does turn... :S just keeps there like a rock.
How to fix that?