DeathPromT Posted November 19, 2009 Share Posted November 19, 2009 Hello, i have a problem with sqlite saving. It saves money, but doesnt save kills or deaths or whatelse, here's the code: local sourceName = getPlayerName(source) local deaths = getElementData(source, 'svnDeaths') executeSQLUpdate("players", "money = '" .. playerMoney .. "'", "deaths = '" ..deaths.. "'", "name = '" .. sourceName .. "'") deaths field is created with type INTEGER. These functions are on onPlayerQuit handler. I tried to set deaths field to 10 number, but nothing happens. Oh, and sorry for my bad english Link to comment
DeathPromT Posted November 19, 2009 Author Share Posted November 19, 2009 Found the problem, please lock topic. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now