move all 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: move all objects (
/showthread.php?tid=125956)
move all objects -
~Dangun! - 06.02.2010
i have like... 30 objects, but how do i move them down in 1 time?
Re: move all objects -
bajskorv123 - 06.02.2010
Give me script and ill take a look...
Re: move all objects -
[XST]O_x - 06.02.2010
pawn Код:
Object1 = CreateObject..
Object2 = CreateObject..
Object28 = CreateObject..
.
.
.
...
pawn Код:
//Command code
MoveObject(Object1,X,Y,Z,Speed);
MoveObject(Object2,X,Y,Z,Speed);
//Etc
Re: move all objects -
~Dangun! - 06.02.2010
There must be a easyer way :S
Re: move all objects -
[XST]O_x - 06.02.2010
Quote:
Originally Posted by ReteLikker
There must be a easyer way :S
|
I don't think there is..
But anyway maybe wait for a comment from some better scripters,they must know how.
Edit:
Quote:
Originally Posted by ¤Adas¤
pawn Код:
for(new i; i<sizeof(Object); i++) MoveObject(Object[i], X, Y, Z, Speed);
|
Like him *-*
Re: move all objects -
¤Adas¤ - 06.02.2010
pawn Код:
for(new i; i<sizeof(Object); i++) MoveObject(Object[i], X, Y, Z, Speed);
Re: move all objects -
~Dangun! - 06.02.2010
ty