License plates - 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: License plates (
/showthread.php?tid=595323)
License plates -
JessThompson - 01.12.2015
Hello how could i turn this
Код:
new randdr = random(sizeof(PlatePossible));
new temp = random(4500500) + random(4900500);
format(lp, sizeof(lp), "%s%s%s %d", PlatePossible[randdr], temp);
into a random american style numberplate
it needs to be diffrent from all others so there is no conflic?
Re: License plates -
JessThompson - 01.12.2015
anyone
Re: License plates -
Vince - 01.12.2015
Define "American style"? For uniqueness, format the vehicleid/SQL id in it somewhere.
Re: License plates -
JessThompson - 01.12.2015
could yopu not help me with this?
i mean like a american style plate layout
Re: License plates -
Vince - 01.12.2015
No, I cannot help anyone that is completely oblivious to the fact that they should
explain more, even when asked to do so.
Re: License plates -
Ahmad45123 - 01.12.2015
You stupid pro ?
We aren't Americans and wanna know how does an
american plate look like, so we can help you...
Re: License plates -
JessThompson - 01.12.2015
sorry I did not understand
like this
http://images.delcampe.com/img_large...19_001.jpg?v=1
Re: License plates -
Ahmad45123 - 01.12.2015
You want a space in between or u mean multiline ?
If multi-line, I believe its impossible, Not sure but dunno.
Re: License plates -
JessThompson - 01.12.2015
so just like
BC15 PAL
so
pal = 3 random letters
BC = always the same
15 = year the car was brought so 15 because we are in 2015