[Q] Better way to load sql system - 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: [Q] Better way to load sql system (
/showthread.php?tid=368728)
[Q] Better way to load sql system -
scott1 - 14.08.2012
Hi all,
i would like to know what is the better way beetween 2 to load an vehicle sql system.
The first way is
to make an bool and load vehicle one per one
Код:
"SELECT * FROM vehicle WHERE ID= %d",vehicle
the second is load all vehicle in one query
Код:
SELECT * FROM vehicle
I would also know if the second way is bug safe.
Thank you
Max
Re: [Q] Better way to load sql system -
Vince - 14.08.2012
https://sampforum.blast.hk/showthread.php?tid=366019