Well, my friend is having a problem.
Well, he is making an buy menu with arrays (As the buy item)
Now he have a problem with adding the 82 arrays into each thread. (he have 4 threads that is usning the arrays)
So instead of adding all the arrays 4 times (For each thread)
Can he make an thread that will be used for all the buy threads. (That use the arrays.)
Example:
And an thread that will use the arrays:Arrays()
{
array = [];
array[0] = "ak47_mp";
array[1] = "fal_mp";
array[2] = "masada_mp";
}
WeaponGive()
{
self giveweapon(array[2]);
self switchtoweapon(array[2]);
}
Clear:
How to include arrays that is not in the same thread as they are used in.
READ:
This is not used in the _rank.gsc
So he can't add it to the init()
[The thread]