SetObjectRot
#1

Hello Everyone,

I'm trying to script gate that opens by command.
My Question is, there are some way to convert SetObjectRot to MoveDynamicObject (or just to MoveObject) ?
Reply
#2

Not sure, but I think we can with some angle calculations. But why don't you simply use MoveObject?
Reply
#3

The script that I working on him it's script that I and my friend built year ago.
We took some vacation from SAMP.
So now I don't remember everything, I don't even remember why we used SetObjectRot.

So now I need help to convert it to MoveObject.
Reply
#4

I think you should re-code the gate command using MoveObject if you have the map or the objects info. It would be easier. :P
Reply
#5

But maybe there are some way to convert it?
Reply
#6

Use Edit>Replace I guess, and replace them.
Reply
#7

dude... "SetObjectRot" changes the heading of an object..
"MoveObject" ONLY the position... you can only change the x, y and z coord with MoveObject and the ax, ay, az with SetObjectRot...

if you are using a streamer check out the release page of it (on this forum) and check out for the functions..
I guess it'll be something like SetDynamicObjectRot(objectid, ax, ay, az);


so you cannot replace SetObjectRot with MoveObject
Reply
#8

Thank you Sascha !!!!!!
Everything Working.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)