Please help me on this
#7

Quote:
Originally Posted by khRamin78
Посмотреть сообщение
PHP код:
new array[10]; // 10 = max numbers that will be randomeed can be any thing
array[0] = 1000;
array[
1] = 5000;
array[
2] = 600;
array[
3] = 788;
array[
4] = 96666;
new 
ran;
do
{
    
ran = random(sizeof(array));
}while(array[
ran] != 0);
array[
ran] >> your random number 
actually this ^
dunno why i went into multidimensional arrays when one dimension is probs enough for him.
Reply


Messages In This Thread
Please help me on this - by akib - 14.11.2018, 04:26
Re: Please help me on this - by YourWhalecum - 14.11.2018, 04:30
Re: Please help me on this - by akib - 14.11.2018, 04:40
Re: Please help me on this - by aristoffky - 14.11.2018, 05:29
Re: Please help me on this - by aristoffky - 14.11.2018, 05:32
Re: Please help me on this - by khRamin78 - 14.11.2018, 05:32
Re: Please help me on this - by aristoffky - 14.11.2018, 05:34
Re: Please help me on this - by khRamin78 - 14.11.2018, 05:46
Re: Please help me on this - by akib - 14.11.2018, 09:43
Re: Please help me on this - by khRamin78 - 14.11.2018, 14:56

Forum Jump:


Users browsing this thread: 1 Guest(s)