SA-MP Forums Archive
Dealership help. - 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: Dealership help. (/showthread.php?tid=632718)



Dealership help. - ManIsHere - 18.04.2017

Hello. i am rying to make a dealership system and i want it to be MySQL. but i cant think how to make tables in it for dealership. i mean ik how to load and create dealership but donw know how make my dealership system dynamic.
Max_Dealership_cars will be 15. so should i create 15 tables or 15 other rows in a dealership table??

Thank you and sorry for bad english.


Re: Dealership help. - Astralis - 18.04.2017

There should be ID's from 0 to 14. Which makes it max_dealership_cars to be 15.


Re: Dealership help. - DarkSkull - 18.04.2017

Make a table named Dealership. Make the first column dealership id and add 15 rows.