plate save - 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: plate save (
/showthread.php?tid=326722)
plate save -
TouhGear - 18.03.2012
How save vehicle number plate in database mysql?
Re: plate save -
Tanush123 - 18.03.2012
pawn Код:
format(str,sizeof(str),"UPDATE `tablename` SET `Plate` = '%s'",plate);
mysql_query(str);
edit tablename to your own table and also plate.
Re: plate save -
TouhGear - 18.03.2012
Thank you. Works perfect.
Re: plate save -
Jonny5 - 18.03.2012
is there a function to get what a vehicles plate is?
I wanted todo something like this
but thought it was not possible
or are you using an array to store the plate?