Is it possible to?
#1

Is it possible to rotate a object? Like move object but change its angle,
So like from this position:

|
|
|
|
|

to this position:

_ _ _ _ _ _
Reply
#2

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
Reply
#3

https://sampwiki.blast.hk/wiki/SetObjectRot
Reply
#4

Quote:
Originally Posted by jamesbond007
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
Wrong

Quote:
Originally Posted by Don Correlli
Correct thanks
Reply
#5

You're welcome.
Reply
#6

isnt it the same thing...
Reply
#7

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.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)