mtamaster97 Posted August 1, 2014 Share Posted August 1, 2014 Hello guys, I've a problem about ranks, I want to make ranks 5 that will be calculated by kills & wins and every logged player I'll have his own rank name & rankLogo at stats window and only rankLogo at Scoreboard next to name , but I don't know how to store kills and wins to someones account, Can someone of u guys help ne or just give me a hint, ty. Link to comment
#DRAGON!FIRE Posted August 1, 2014 Share Posted August 1, 2014 setAccountData / getAccountData or ( SQL ) Link to comment
Anubhav Posted August 1, 2014 Share Posted August 1, 2014 SQL is stable and works perfect. An example: con = dbConnect("sqlite", ":/file.db/sql") function f1() dbExec(con,"CREATE TABLE IF NOT EXISTS tableName(x INT, y INT, z INT)") dbExec(con,"INSERT INTO tableName VALUES(?,?,?)", 0, 0, 0 ) end Link to comment
#DRAGON!FIRE Posted August 1, 2014 Share Posted August 1, 2014 SQL is stable and works perfect.An example: con = dbConnect("sqlite", ":/file.db/sql") function f1() dbExec(con,"CREATE TABLE IF NOT EXISTS tableName(x INT, y INT, z INT)") dbExec(con,"INSERT INTO tableName VALUES(?,?,?)", 0, 0, 0 ) end not needed sQlLite it hard for him ... use SQL it izi for him .. or Account data very izi Link to comment
Karuzo Posted August 1, 2014 Share Posted August 1, 2014 SQL is stable and works perfect.An example: con = dbConnect("sqlite", ":/file.db/sql") function f1() dbExec(con,"CREATE TABLE IF NOT EXISTS tableName(x INT, y INT, z INT)") dbExec(con,"INSERT INTO tableName VALUES(?,?,?)", 0, 0, 0 ) end not needed sQlLite it hard for him ... use SQL it izi for him .. or Account data very izi Are you serious? It's exactly the same. 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