samp / mysql
#1

How can I generate a random 6 digits number without digit 0 as the first digit as a phone number?

ex: 244132, 131131, 121412

I want them to be saved in MYSQL when someone types /buyphone (i can do this)

help me just with the generator number, the rest of script I can do it alone, I don't know how to do it via pawn

And I don't know how to check it in MYSQL if already exists that number, to give another random number.
Reply


Messages In This Thread
samp / mysql phonenumber - by Zeus666 - 14.04.2018, 07:58
Re: samp / mysql - by TitoRayne - 14.04.2018, 09:51
Re: samp / mysql - by JesterlJoker - 14.04.2018, 11:18
Re: samp / mysql - by TitoRayne - 14.04.2018, 12:04
Re: samp / mysql - by Zeus666 - 21.04.2018, 08:52
Re: samp / mysql - by Phreak - 21.04.2018, 21:21
Re: samp / mysql - by Zeus666 - 21.04.2018, 21:42
Re: samp / mysql - by Dayrion - 21.04.2018, 21:45
Re: samp / mysql - by Zeus666 - 21.04.2018, 21:47

Forum Jump:


Users browsing this thread: 1 Guest(s)