Random
#1

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:
Code:
new float: CopSkinsL1 [8] [1] =
{ //The skins:
	{280},
	{281},
    {282},
    {283},
    {265},
    {266},
    {267},
    {288}
};
and then I'm stuck....

Oh, yeah and can somebody explain me what that [1] means? or what should be in there...
Reply


Messages In This Thread
Random - by knackworst - 23.08.2011, 20:53
Re: Random - by BMUK - 23.08.2011, 21:06
Re: Random - by BMUK - 23.08.2011, 21:12
Re: Random - by knackworst - 23.08.2011, 21:13
Re: Random - by BMUK - 23.08.2011, 21:14
Re: Random - by knackworst - 23.08.2011, 21:19
Re: Random - by Gh0sT_ - 23.08.2011, 21:23
Re: Random - by knackworst - 24.08.2011, 00:22

Forum Jump:


Users browsing this thread: 1 Guest(s)