Quantcast
Channel: Answers by "IvovdMarel"
Viewing all articles
Browse latest Browse all 145

Answer by IvovdMarel

$
0
0
This question is still very vague, but let's see where this gets you. To store a currency, you just create an int. int currency = 0; To create multiple currencies for 2 (or more) teams, you should create an array. int[] currencies = new int[2]; Then each team will access it by using their 'identifier', which is 0 or 1, depending on the team. (or 2,3,4 etc if you have more teams). int team = 0; int myTeamCurrency = currencies[team];

Viewing all articles
Browse latest Browse all 145

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>