objects
#1

how i do rendom with objects? for exmple:
i create 9 objects and i want that 8 objects will broke and the last object will be exists
how i do that?

sorry for bad English
Reply
#2

Something like this:
pawn Код:
for(new o = 0; o<8; o++)
{
  DestroyObject(o);
}
Reply
#3

Quote:
Originally Posted by Swift_
Something like this:
pawn Код:
for(new o = 0; o<8; o++)
{
 DestroyObject(o);
}
i have thuis objects:
CreateObject(1649, 2540.735352, -1796.868774, 995.405579, 268.8998, 0.0000, 0.0000);
CreateObject(1649, 2536.422363, -1796.862793, 995.427551, 268.8998, 0.0000, 0.0000);
CreateObject(1649, 2540.737061, -1800.135620, 995.473877, 272.3375, 0.0000, 180.0000);
CreateObject(1649, 2536.433594, -1800.070435, 995.471130, 268.0403, 0.0000, 0.0000);
CreateObject(1649, 2545.114014, -1803.413330, 995.560425, 268.8998, 0.0000, 0.0000);
CreateObject(1649, 2540.744873, -1803.414429, 995.570313, 268.8998, 0.0000, 0.0000);
CreateObject(1649, 2536.380615, -1803.392334, 995.545227, 268.8998, 0.0000, 0.0000);
CreateObject(1649, 2545.092041, -1800.173706, 995.474731, 272.3375, 0.0000, 180.0000);
CreateObject(1649, 2545.083008, -1796.859497, 995.370483, 268.8998, 0.0000, 0.0000);
how i do that this object will be broke?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)