Random number
#5

Quote:
Originally Posted by Mrki_Drakula
Посмотреть сообщение
Thank you both!

Would this work?

Код:
new phonenumber = RandomEx(1620000000, 1630000000);		
PlayerInfo[playerid][pnumber] = phonenumber;
Код:
stock randomEx(min, max)
{
    //Credits to ******
    new rand = random(max-min)+min;
    return rand;
}
That should work, unless your [pnumber] is a float.
Reply


Messages In This Thread
Random number - by Mrki_Drakula - 17.04.2015, 16:55
Re: Random number - by Konstantinos - 17.04.2015, 16:59
Re: Random number - by Jimmy0wns - 17.04.2015, 17:04
Re: Random number - by Mrki_Drakula - 17.04.2015, 17:31
Re: Random number - by Jimmy0wns - 17.04.2015, 17:34
Re: Random number - by Mrki_Drakula - 17.04.2015, 17:40
Re: Random number - by Azula - 17.04.2015, 17:40
Re: Random number - by Jimmy0wns - 17.04.2015, 17:42
Re: Random number - by Mrki_Drakula - 17.04.2015, 17:44
Re: Random number - by Jimmy0wns - 17.04.2015, 17:45

Forum Jump:


Users browsing this thread: 3 Guest(s)