[A-System] Random code for login help.
#6

nono, using that random it could give out 1 as "kod" as well, try using this;

Код:
RandomEx(min, max) // By ******
{
    return random(max - min) + min;
}

PlayerInfo[id][pKod] = RandomEx(10000, 99999);
Reply


Messages In This Thread
[A-System] Random code for login help. - by NoDi522 - 07.06.2015, 10:16
Re: [A-System] Random code for login help. - by shadowdog - 07.06.2015, 10:20
Re: [A-System] Random code for login help. - by NoDi522 - 07.06.2015, 10:28
Re: [A-System] Random code for login help. - by Vince - 07.06.2015, 11:08
Re: [A-System] Random code for login help. - by NoDi522 - 07.06.2015, 12:55
Re: [A-System] Random code for login help. - by JaydenJason - 07.06.2015, 13:48

Forum Jump:


Users browsing this thread: 2 Guest(s)