SA-MP Forums Archive
MYSQL 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: MYSQL Help (/showthread.php?tid=401037)



MYSQL Help - Height - 21.12.2012

i have a GM, in that there are houses. so i am now planning to add cars to houses. so i am using MYSQL. so when GM starts, all cars needed to be loaded. so, is there any way to load all cars associated to house. i mean a techinique to load the cars when houses loaded up. i face trouble is that more that on cars associated to a house since house have slots. so if it was one car, it might have been easy. so is there any way to load all cars of a house when GM starts. i use a separate SQL table for vehicles. i prefer a way by loading cars by checking house id associated with that car.
please help me