25.07.2016, 10:04
(
Последний раз редактировалось Amit1998; 26.07.2016 в 03:07.
)
danke
When you spawn the pickup, assign its id to a varriable. Probably pickupid == MoneyBags[<id here>][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. |
The problem might not be the pickup, the problem might be the checkpoint.
Does this applies on checkpoints ? when u enter in checkpoint does it give you a bag ? |