SA-MP Forums Archive
Need advice - 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: Need advice (/showthread.php?tid=360937)



Need advice - ScriptWriter - 19.07.2012

Hello.

I need advice how to better loads server vehicles? From files or from MySQL database? Thanks for advice!


Re: Need advice - ScriptWriter - 19.07.2012

UP.


Re : Need advice - JakeMiller - 19.07.2012

make a folder in pawno called Objects and then go to

OngameModeInit()
{
#include Objects/object.txt
}


Re: Need advice - [KHK]Khalid - 19.07.2012

Look how they loaded vehicles from a file in the grandlarc gamemode for a good example.


Re: Need advice - ScriptWriter - 19.07.2012

I wanna advice how to do better but not watch how are do another person. Please tell how to better load vehicles, from files or from mysql database.


Re: Need advice - Steven82 - 19.07.2012

What about SQLite? If you're going to only load vehicles, why not just put them in a small local SQLite database?


Re: Need advice - ScriptWriter - 19.07.2012

I wanna files or mysql.
So who way is better


Re: Need advice - ScriptWriter - 20.07.2012

So?