SA-MP Forums Archive
sqlite database - 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: sqlite database (/showthread.php?tid=460658)



sqlite database - mixmadamich - 29.08.2013

Hello I need some help. I need someone who can make a sqlite database to my SA-MP Roleplay server. Please help me. Thanks


Re: sqlite database - Konstantinos - 29.08.2013

It can be done either by script (easier and faster). For more information, take a look at my tutorial about SQLite. I explain how you can open and create tables.

or

Download a SQLite Database Browser

Run SQLite Database Browser 2.0 b1.exe and:

File > New Database. A box to save it will be popped up. Give a name and add the .db at the end.
pawn Код:
// Example:
server.db
Save it. Another box will be appeared for creating a table. Give a name there as well; for example "users". If you want, you add fields and all that.