Arkan
Nobody rides for free
- Reaction score
- 92
I have a problem, say I have 4 players that each have an integer array that in turn holds another integer array, how would I code that?
x, y and z are integers
I want:
Player[x]_[y] = z
instead of:
Player0_[y] = z
Player1_[y] = z
Player2_[y] = z
Player3_[y] = z
Is it possible? Would be quite tedious to make if/else statements everytime...
x, y and z are integers
I want:
Player[x]_[y] = z
instead of:
Player0_[y] = z
Player1_[y] = z
Player2_[y] = z
Player3_[y] = z
Is it possible? Would be quite tedious to make if/else statements everytime...