CreateDynamicObject
#2

You'll need a loop to go through the array, something like this:

Код:
for(new i = 0; i < sizeof(Coords); i ++)
{
CreateDynamicObject(model, Coords[i][0], Coords[i][1], Coords[i][2], Coords[i][3], Coords[i][4], Coords[i][5], ...);
}
Where "Coords" is the array you use to hold the coordinates.
The array is a 2D Array, the first dimension being the ID of the Robbery Place and the second dimension are the actual coords. 0 - 2 are X, Y, Z and 3 - 5 are RX, RY, RZ (if you also have rotations in the array).

You might also want to save the Dynamic Object IDs in an Array in case you need them later on.
Reply


Messages In This Thread
CreateDynamicObject - by KinderClans - 24.07.2018, 13:23
Re: CreateDynamicObject - by NaS - 24.07.2018, 13:42
Re: CreateDynamicObject - by KinderClans - 24.07.2018, 13:52
Re: CreateDynamicObject - by NaS - 24.07.2018, 13:57
Re: CreateDynamicObject - by GTLS - 24.07.2018, 14:45
Re: CreateDynamicObject - by KinderClans - 24.07.2018, 17:02
Re: CreateDynamicObject - by Dayrion - 24.07.2018, 17:14
Re: CreateDynamicObject - by KinderClans - 24.07.2018, 19:22
Re: CreateDynamicObject - by Florin48 - 24.07.2018, 20:25
Re: CreateDynamicObject - by KinderClans - 24.07.2018, 20:28

Forum Jump:


Users browsing this thread: 1 Guest(s)