Moving Objects - 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)
+--- Thread: Moving Objects (
/showthread.php?tid=310960)
Moving Objects -
The God - 14.01.2012
I would like to ask how to move 2 objects with 1 command?
For example:
I type /open and one object moves to the left and the other one moves to the right.
Re: Moving Objects -
Outcast - 14.01.2012
Make a stock for it, ie.
stock MoveObjects(Float:X, Float:Y, Float:Z, Float:Speed)
{
MoveObject(obj1, X, Y, Z...)
MoveObject(obj2, X, Y, Z...)
}
Re: Moving Objects -
The God - 14.01.2012
Thanks. Ill try it.
Re: Moving Objects -
Min - 14.01.2012
Click here.
This may help you alot.
Re: Moving Objects -
Mean - 14.01.2012
pawn Код:
command {
MoveObject(...);
MoveObject(...);
return 1;
}
Profit?