25.07.2016, 10:30
When you spawn the pickup, assign its id to a varriable. Probably pickupid == MoneyBags[<index>][mbpickup].
To find an index (in the array) that is not used, simply loop through it, if the index is currently not used, create at the specific index.
Then loop through them to find it.
To find an index (in the array) that is not used, simply loop through it, if the index is currently not used, create at the specific index.
Then loop through them to find it.