SA-MP Forums Archive
Number plate problem. - 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: Number plate problem. (/showthread.php?tid=308917)



Number plate problem. - budelis - 05.01.2012

Hello,i found one mistake in function: SetVehicleNumberPlate. For not owned vehicles i set plate " SAMP " for owned vehicles i make random numbers. All is well,but when is loading cars,all vehicles number plates is the same. Owned vehicles numbers is " SAMP " i think,maybe,i load something bad,but no,in mysql log,all is fine.


Re: Number plate problem. - Basssiiie - 05.01.2012

The numberplate is "SAMP XYZ" or something like that by default. If you want very random number plates, I guess you put some in an array and pick one randomly, or make a script that creates number plate texts randomly with random numbers and figures.


Re: Number plate problem. - budelis - 05.01.2012

I know,how to make random numbers,all is well i sad that...But all cars get plate,who had first car.