12.06.2009, 15:56
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
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