23.08.2011, 20:53
Hi everyone, I got a little question about the random function.
Well, for my GM I need something that can set the skins of my characters random.
So for example:
/cops
then the player joins team cops (already made that ofc)
and he's skin will be set random.
I already did this:
and then I'm stuck....
Oh, yeah and can somebody explain me what that [1] means? or what should be in there...
Well, for my GM I need something that can set the skins of my characters random.
So for example:
/cops
then the player joins team cops (already made that ofc)
and he's skin will be set random.
I already did this:
Code:
new float: CopSkinsL1 [8] [1] = { //The skins: {280}, {281}, {282}, {283}, {265}, {266}, {267}, {288} };
Oh, yeah and can somebody explain me what that [1] means? or what should be in there...