how to make newAnythinghere[1-36];
#1

i need multiple new codes but im to lazy to write them 36
is there any way that i can make all them with one line?

im using object streamer and i want use all objects:

pawn Код:
new brick[36];
pawn Код:
brick[1] = CreateDynamicObject(1697, 2158.6352539063, -3172.4780273438, 137.60829162598, 31, 0, 0);
brick[2] = CreateDynamicObject(1697, 2158.6552734375, -3167.2275390625, 137.60829162598, 30.997924804688, 0, 0);
brick[3] = CreateDynamicObject(1697, 2162.9052734375, -3167.244140625, 137.60829162598, 30.997924804688, 0, 0);
brick[4] = CreateDynamicObject(1697, 2162.884765625, -3172.494140625, 137.60829162598, 30.997924804688, 0, 0);
brick[5] = CreateDynamicObject(1697, 2167.3395996094, -3172.4990234375, 137.60829162598, 30.997924804688, 0, 0);
brick[6] = CreateDynamicObject(1697, 2167.3681640625, -3167.2453613281, 137.60829162598, 30.997924804688, 0, 0);
and will it work correct?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)