I'm not familiar with sq-lite but i really do not understand why it never updates.
function onUpdatePlayerAccount(player, statDB) {
// format the update query
local szquery = format( "UPDATE Stats SET Auto_Login=" + Auto_Login[ player.ID ] + ", Kills=" + Kills[ player.ID ] + ", Deaths=" + Deaths[ player.ID ] + ", Money=" + Money[ player.ID ] + ", Bank=" + Bank[ player.ID ] + ", Skin='" + player.Skin + ", Wanted_Level='" + player.WantedLevel + ", Health='" + player.Health + ", Armour='" + player.Armour + "' WHERE Name='" + player.Name + "'" );
// execute the query
::sqlite_query( statDB, szquery );
MessagePlayer("Done", player);//just a random test
}
Any guidance is appreciated.
Also I do not receive errors