Barier
#1

Hello. There was a small problem on the Barrier.

[img width=700 height=525]/imageshack/img811/56/samp008jq.png[/img]

[img width=700 height=525]/imageshack/img855/4500/samp009vr.png[/img]

When I open the object rotates in the opposite direction. Code:
Код:
RotateObject(PD1,rot[0]+0.0,rot[1],rot[2],90,50.0);// Open
RotateObject(PD1,rot[0]-90.0,rot[1],rot[2],90,50.0);// Close
Please Help..
Reply
#2

pawn Код:
RotateObject(PD1,rot[0],rot[1],rot[2],90,50.0);// Open
RotateObject(PD1,rot[0]-90.0,rot[1]-90,rot[2],90,50.0);// Close
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)