Hello
I need a script which adds different items to a backpack, but not just in one backpack. The script should be based on a table and it should be able to add backpacks in backpacks and such..
Example of the table the script should be based on:
table = {item,item,item,{item,item},item}
the first three are just added, but the third has to be a container, in the third then the items in the array {} are added and after that again in the first backpack the last item is added..
I tried to do it, but I can't get it done.
I need a script which adds different items to a backpack, but not just in one backpack. The script should be based on a table and it should be able to add backpacks in backpacks and such..
Example of the table the script should be based on:
table = {item,item,item,{item,item},item}
the first three are just added, but the third has to be a container, in the third then the items in the array {} are added and after that again in the first backpack the last item is added..
I tried to do it, but I can't get it done.