04.07.2014, 12:54
It's a problem?
I'll create my object system, but I'll need infos about each object. Create a array with 15000 size, for each object, or i wanna create a array and using the index 1, 2, 3.
N°1: Bad, but practice
N°2: Good, small array, but not practice.
It's a problem to create a array size 15000, 20000...
Thanks you,
Nlx
I'll create my object system, but I'll need infos about each object. Create a array with 15000 size, for each object, or i wanna create a array and using the index 1, 2, 3.
N°1: Bad, but practice
pawn Код:
enum e_v
{
o_SlotWear
};
new Obj[15000 /* X */][e_v];
// I can:
CreateObject(/* obj X */, 2001.195679, 1547.113892, 14.283400, 0.0, 0.0, 0.0);
pawn Код:
enum e_v
{
o_objID,
o_SlotWear
};
new Obj[500][e_v];
// I can:
CreateObject(Obj[X][o_objID], 2001.195679, 1547.113892, 14.283400, 0.0, 0.0, 0.0);
Thanks you,
Nlx