random number help (phone system)
#4

pawn Код:
new
    phonenumber[10]

format(phonenumber, sizeof (phonenumber), "0630%i", RandomEx(10000, 99999));
pawn Код:
stock RandomEx(min, max)
{
    return random(max - min) + min;
}
Reply


Messages In This Thread
random number help (phone system) - by Slicebook - 15.02.2014, 17:12
Re: random number help (phone system) - by Necip - 15.02.2014, 17:13
Re: random number help (phone system) - by Slicebook - 15.02.2014, 17:16
Re: random number help (phone system) - by Konstantinos - 15.02.2014, 17:19
Re: random number help (phone system) - by Slicebook - 15.02.2014, 17:27

Forum Jump:


Users browsing this thread: 1 Guest(s)