HI now my databse is loaded and my register login function is also working but when i reconnect my all stats money and kills are back to 0 plzz help me and thanks in advance
Some functions are expected from you, without it we cannot help you.
if you are using fuzzie'ss account system. then there is a function like function Update( player, sqliteDB ). this is to save players stats. you need to put this function onplayerpart if you notice, in fuzzie's account system it is already added
function onPlayerPart( player, reason ){
if( pstats[ player.ID ].Level != 0 ){
pstats[ player.ID ].Update( player, sqliteDB );
}
pstats[ player.ID ] = null;
}
otherwise make your own save-stats function.