24.05.2014, 09:29
Create an array. I'll give you a fast example:
EDIT: Ops, sorry S4t3K.
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;
}

