Random() question?
#5

Thanks, but I mean....

pawn Код:
new rand = Random(3);

if(rand == 1)
       {
                  SmallGrip[playerid] ++;
       }
if(rand == 2)
       {
                  MedGrip[playerid] ++;
       }
if(rand == 3)
       {
                 LargeGrip[playerid] ++;
       }

// from this it's only going to select 1, I need 3, but I need to know the result from it so I can put it in a string.
Reply


Messages In This Thread
Random() question? - by Dokins - 11.08.2013, 18:19
Re: Random() question? - by Vince - 11.08.2013, 18:31
Re: Random() question? - by Dokins - 11.08.2013, 18:34
Re: Random() question? - by [XST]O_x - 11.08.2013, 18:38
Re: Random() question? - by Dokins - 11.08.2013, 18:43
Re: Random() question? - by [XST]O_x - 11.08.2013, 18:48
Re: Random() question? - by Dokins - 11.08.2013, 18:56
AW: Random() question? - by Nero_3D - 11.08.2013, 18:58

Forum Jump:


Users browsing this thread: 2 Guest(s)