Redefine array ?
#2

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.
Reply


Messages In This Thread
Redefine array ? - by Zmbl - 12.06.2009, 15:56
Re: Redefine array ? - by Luca Dimonte - 12.06.2009, 16:28
Re: Redefine array ? - by Zmbl - 12.06.2009, 16:30

Forum Jump:


Users browsing this thread: 1 Guest(s)