[SOLVED] How to SetObjectRot run smoot? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [SOLVED] How to SetObjectRot run smoot? (
/showthread.php?tid=89789)
[SOLVED] How to SetObjectRot run smoot? -
RyDeR` - 04.08.2009
Hello I've someting to move but it's the Yrotation to move I used SetObjectRot but that isn't smoot It will directly open and close. I want something smoot anyobdy know??
Re: How to SetObjectRot run smoot? -
SpiderPork - 04.08.2009
Use a timer.
Re: How to SetObjectRot run smoot? -
saiberfun - 04.08.2009
Quote:
Originally Posted by SpiderPork
Use a timer.
|
dang it u were faster
Re: How to SetObjectRot run smoot? -
Zeromanster - 04.08.2009
Quote:
Originally Posted by SpiderPork
Use a timer.
|
Explain a little more... :P
Re: How to SetObjectRot run smoot? -
saiberfun - 04.08.2009
like setting a timer like every 500ms = 0,5secs
that does
pawn Код:
new X,Y,Z;
GetObjectRot(objectid,X,Y,Z);
Y++;//or +2,+3,+4 or anything else
SetObjectRot(objectid,X,Y,Z);
Re: How to SetObjectRot run smoot? -
RyDeR` - 04.08.2009
Quote:
Originally Posted by saiberfun
like setting a timer like every 500ms = 0,5secs
that does
pawn Код:
new X,Y,Z; GetObjectRot(objectid,X,Y,Z); Y++;//or +2,+3,+4 or anything else SetObjectRot(objectid,X,Y,Z);
|
Thank you but I want them move to 0.90 how to do that? and -0.90 to.
Re: How to SetObjectRot run smoot? -
saiberfun - 04.08.2009
hmm
maybe Y+0.90;
or sumin
i dunno..
Re: How to SetObjectRot run smoot? -
RyDeR` - 04.08.2009
Noo don't work
Re: How to SetObjectRot run smoot? -
RyDeR` - 04.08.2009
Thank you for answering but I solved it.
Re: How to SetObjectRot run smoot? -
saiberfun - 04.08.2009
Quote:
Originally Posted by [WsR
RyDeR ]
Thank you for answering but I solved it.
|
and how? i think that's interesting to kno