Object moving help
#3

Create an array. I'll give you a fast example:
pawn Код:
new Objects[10];

Objects[1] = CreateObject(..);
Objects[2] =  CreateObject(..); // An so on create the other objects.

CMD:moveallobjects(playerid, params[])
{
    for(new i=0; i < 11; i++) MoveObject(Objects[i],x,y,z,speed,rotx,roty,rotz); //Loop instead of moving every array alone.
    return 1;
}
EDIT: Ops, sorry S4t3K.
Reply


Messages In This Thread
Object moving help - by hhaaoo123 - 24.05.2014, 09:23
Re : Object moving help - by S4t3K - 24.05.2014, 09:26
Re: Object moving help - by SilentSoul - 24.05.2014, 09:29
Re : Object moving help - by S4t3K - 24.05.2014, 09:30

Forum Jump:


Users browsing this thread: 1 Guest(s)