Please help me to fix this Problem about Prison Cells Door - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Please help me to fix this Problem about Prison Cells Door (
/showthread.php?tid=500652)
Please help me to fix this Problem about Prison Cells Door -
Lloyde - 14.03.2014
I have a problem about my Prison Script. I was confused why the cell door sliding forward backward, But i want is cell door sliding left to right. if im using command /opencells it was sliding Forward and when im using /closecells its going to backward back to old position. I just want to know how to fix this problem about my script in door cells
___________________
Give me some Reputation 
This is my script SS:
Re: Please help me to fix this Problem about Prison Cells Door -
Ardenshy - 14.03.2014
Do you try to set rotation in function
MoveObject?
Re: Please help me to fix this Problem about Prison Cells Door -
Matess - 14.03.2014
Instead of
pawn Код:
MoveObject(id,X+1.25,y,z,...,);
try
MoveObject(id,x,Y+1.25,z,...,);//or -1.25 IDK...
Re: Please help me to fix this Problem about Prison Cells Door -
Lloyde - 14.03.2014
Quote:
Originally Posted by Ardenshy
Do you try to set rotation in function MoveObject?
|
How to do that rotation in Function MoveObject
Re: Please help me to fix this Problem about Prison Cells Door -
Ardenshy - 14.03.2014
pawn Код:
MoveObject(ObjectID,X,Y,Z,Speed,RotationX,RotationY,RotationZ);
Set this rotation like in
CreateObject.
Re: Please help me to fix this Problem about Prison Cells Door -
Lloyde - 14.03.2014
Thanks for Helping @Mattes its now Working

your the great men