Redefine array ?
#1

Hello,

Is there a way to quickly redefine whole parts of an array, without redefining all its items?

For instance :

Global array:
new Race[MAX_PLAYERS][255][3];

Then, in a function :

Race[playerid][0] = {1, 2, 3};

I tried it but it didn't work ("Array has to be indexed" error), so I was thinking if there were a workaround ^^

Thanks
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)