How to check a random number
#1

Ok so there is this thing where a player each gets a number and its a different number its just when i do this

pawn Code:
new check = random(Player[i][Number]);
if(check == Player[i][Number])
{
        // Code here
}
Why does that not work because i want it to pick a random number but only from the numbers that players have

Please help

Thanks
Reply


Messages In This Thread
How to check a random number - by Euan Hughes - 21.07.2012, 22:42
Re: How to check a random number - by Euan Hughes - 22.07.2012, 00:32
Re: How to check a random number - by Euan Hughes - 22.07.2012, 11:06
Re: How to check a random number - by Euan Hughes - 22.07.2012, 11:43
Re: How to check a random number - by [MM]RoXoR[FS] - 22.07.2012, 11:45
Re: How to check a random number - by Euan Hughes - 22.07.2012, 11:48
Re: How to check a random number - by Babul - 22.07.2012, 11:52
Re: How to check a random number - by Euan Hughes - 22.07.2012, 11:56
Re: How to check a random number - by Euan Hughes - 22.07.2012, 15:41
Re: How to check a random number - by Babul - 23.07.2012, 08:44

Forum Jump:


Users browsing this thread: 5 Guest(s)