Question about phone numbers - 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: Question about phone numbers (
/showthread.php?tid=109648)
Question about phone numbers -
Zeromanster - 21.11.2009
Hello, could this part of code assign the same phone numbers to more than one people ?
pawn Код:
new randphone = 10000 + random(89999);
And if yes, how can i check if the phone number is already taken ?
Thank you for your answers.
Re: Question about phone numbers -
Zeromanster - 22.11.2009
BUMP
Re: Question about phone numbers -
dice7 - 22.11.2009
Yes it can. Just save the persons numbers and check them when creating a new number