05.05.2015, 05:11
That's a great idea. It's nice to see people actually using this.
I plan on adding something like:
And then the same syntax for LoadPVarsForPlayer. The default mode would be e_SAVE_TYPE_SQLITE of course.
This could actually be the beginning of something great for PVars.
I plan on adding something like:
pawn Код:
// Save the PVars in a MySQL database.
SavePVarsForPlayer(playerid, e_SAVE_TYPE_MYSQL, "pvars/mysql/", connectionHandle = 1);
// Save the PVars in a SQLite database.
SavePVarsForPlayer(playerid, e_SAVE_TYPE_SQLITE, "pvars/sqlite/");
// Save the PVars in an INI file.
SavePVarsForPlayer(playerid, e_SAVE_TYPE_INI, "pvars/ini/");
This could actually be the beginning of something great for PVars.