FlyingSpoon Posted June 20, 2015 Share Posted June 20, 2015 How would I go about making a top wins for certain maps on race. For example - Link to comment
xXMADEXx Posted June 21, 2015 Share Posted June 21, 2015 How would I go about making a top wins for certain maps on race. For example - You just need to use setElementData/setAccountData and increase the key by one anytime they win. Use getAccounts and getAccountData to retrieve the accounts and wins. Link to comment
FlyingSpoon Posted June 21, 2015 Author Share Posted June 21, 2015 Okay, thanks! I'll try it out. If I get any problems I'll come back ! But how will I do it for each map though? Link to comment
Anubhav Posted June 21, 2015 Share Posted June 21, 2015 Answer: Use SQLite. Create a table named: topWins or name it whatever you want. Then make columns named: mapName TEXT Player TEXT Wins INT Then you know what to do! Insert/updating whenever needed.. And you also need to set the account data of the wins of the player! 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