Quote:
Originally Posted by YamiKaitou
SQL_SetAffinity("sqlite");
SQL_MakeDbTuple("localhost", "root", "", "database");
|
Quote:
Originally Posted by Sylwester
You need to make sure that sqlite module is running (you can start it from plugin with #pragma loadlib sqlite).
If mysql module is running too then you have to use SQL_SetAffinity("sqlite") before making tuple.
Make tuple using: g_sql_tuple = SQL_MakeDbTuple("", "", "", "filename")
Your database will be saved in addons\amxmodx\data\sqlite3\filename.sq3
You can then view and edit your database using other tools like http://sourceforge.net/projects/sqlitebrowser/
|
Thanks for reply, nicely done

But which tuple type is the right one - with or without (you hihi) login data?
EDIT: Does anything else changes from MySQL? Or everything remains the same?
__________________