Is it possible to? - 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: Is it possible to? (
/showthread.php?tid=131871)
Is it possible to? -
Torran - 05.03.2010
Is it possible to rotate a object? Like move object but change its angle,
So like from this position:
|
|
|
|
|
to this position:
_ _ _ _ _ _
Re: Is it possible to? -
jamesbond007 - 05.03.2010
yea...
https://sampwiki.blast.hk/wiki/CreateObject
createobject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ)
rX,rY,rZ are all rotations
Re: Is it possible to? -
Correlli - 05.03.2010
https://sampwiki.blast.hk/wiki/SetObjectRot
Re: Is it possible to? -
Torran - 05.03.2010
Quote:
Originally Posted by jamesbond007
|
Wrong
Quote:
Originally Posted by Don Correlli
|
Correct thanks
Re: Is it possible to? -
Correlli - 05.03.2010
You're welcome.
Re: Is it possible to? -
jamesbond007 - 05.03.2010
isnt it the same thing...
Re: Is it possible to? -
Correlli - 05.03.2010
Quote:
Originally Posted by jamesbond007
isnt it the same thing...
|
No, it's not. You can set the rotation with CreateObject, but you can change it at any time by using the SetObjectRot.