05.03.2009, 03:17
Ok, im now scripting a turf wars server and im in a pickle.
i made a list of all the skins i want to use but theirs allot and i think theirs an easier way.
Lets say i have 1 team with skinid: 100 101 102 103 104 105 106 107 etc.....
and another team with skinid: 200 201 202 203 204 205 etc.....
and instead of putting
AddPlayerClass(blablabla) for each skinid
can i make something like:
new BallaSkins {100,101,102,103,104,105,106}
and then put
AddPlayerClass(BallaSkins,blabla pos and weps);
can it be done?
i made a list of all the skins i want to use but theirs allot and i think theirs an easier way.
Lets say i have 1 team with skinid: 100 101 102 103 104 105 106 107 etc.....
and another team with skinid: 200 201 202 203 204 205 etc.....
and instead of putting
AddPlayerClass(blablabla) for each skinid
can i make something like:
new BallaSkins {100,101,102,103,104,105,106}
and then put
AddPlayerClass(BallaSkins,blabla pos and weps);
can it be done?