12.06.2009, 16:28
In my knowledge, it's not possible.
When you write
new Race[playerid][0] = {1, 2, 3};
you can do that because you create and fill the variables at the same time, but it works only because the compiler arrange the vars and values for the compiled file in the space for initialization, so when you execute the program first of all it reads vars and stores values before the program starts to run.
On realtime execution you can't do that, just store values in vars, one by one.
When you write
new Race[playerid][0] = {1, 2, 3};
you can do that because you create and fill the variables at the same time, but it works only because the compiler arrange the vars and values for the compiled file in the space for initialization, so when you execute the program first of all it reads vars and stores values before the program starts to run.
On realtime execution you can't do that, just store values in vars, one by one.