24.05.2014, 09:23
Anyone can help me to move 10 object with 1 cmds?
I can only move 1 object in 1 time. Anyone can help?
I can only move 1 object in 1 time. Anyone can help?
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;
}