how to make moving objects?
#4

You need the ID of the object, not the model number. The easiest way is to store the ID of the object with a variable. Example:

pawn Code:
new Object = CreateObject(...);
Then using

pawn Code:
MoveObject(Object, 1961.7462, -2188.8318, 15.3203, 5.0);
Also remember that the xyz co-ordinates are the amount to move it by in that direction, not the place to move it to.
Reply


Messages In This Thread
how to make moving objects? - by luckie12 - 28.04.2009, 09:33
Re: how to make moving objects? - by [DSK]Vyorel - 28.04.2009, 09:35
Re: how to make moving objects? - by luckie12 - 28.04.2009, 09:43
Re: how to make moving objects? - by JaTochNietDan - 28.04.2009, 09:47
Re: how to make moving objects? - by [DSK]Vyorel - 28.04.2009, 09:48
Re: how to make moving objects? - by luckie12 - 28.04.2009, 09:49
Re: how to make moving objects? - by luckie12 - 28.04.2009, 09:50
Re: how to make moving objects? - by [DSK]Vyorel - 28.04.2009, 09:54
Re: how to make moving objects? - by luckie12 - 28.04.2009, 09:54
Re: how to make moving objects? - by HB - 28.04.2009, 09:56

Forum Jump:


Users browsing this thread: 1 Guest(s)