20.03.2018, 19:16
Maybe instead of creating numerical array for every player, you should create a associative table?
A string index (instance of item) allows you to get value from table immediately.
It will require less looping, but table will take more memory.
It's only a suggestion
.
A string index (instance of item) allows you to get value from table immediately.
It will require less looping, but table will take more memory.
It's only a suggestion
