Random - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Random (
/showthread.php?tid=177915)
Random -
PixeledNinja - 19.09.2010
I want to create the following:
A message to all players saying "Your number is " string.
What I mean is I want it to say Your number is the value of the string, vnumber.
Now..what I want vnumber set as is..a random 7 digit code, randomly generated. I want it to contain letter and numbers.
So, in short:
I want a string generated that is 7 digits long, and contains letters and numbers. I then want it to send this string to every player saying:
"Your number is"
This is as clear I can be, hopefully you will understand.