How to create a random number? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to create a random number? (
/showthread.php?tid=345505)
How to create a random number? -
ricardo178 - 25.05.2012
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.
Re: How to create a random number? -
doreto - 25.05.2012
for asking this you shout post at
request part here is only if you have problem wich your code
Re: How to create a random number? -
ricardo178 - 25.05.2012
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..
Re: How to create a random number? -
Vince - 25.05.2012
It's really not that hard.
Re: How to create a random number? -
ricardo178 - 25.05.2012
Thank you very much.