How to create a random number?
#1

Hey guys. How do i create a random number with 6 digits? It's for a phone system...
I want it to set PlayerInfo about phone to 6 random digits. I knew how to do it, but not anymore. xD

Thanks.
Reply
#2

for asking this you shout post at request part here is only if you have problem wich your code
Reply
#3

Quote:
Originally Posted by doreto
Посмотреть сообщение
for asking this you shout post at request part here is only if you have problem wich your code
Always posted such things here. Is a scripting doubt. It's 1 line less code to do it i think, that's why i asked here..
Reply
#4

pawn Код:
100001+random(900000);
It's really not that hard.
Reply
#5

Thank you very much.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)