Line 266 :
local newItem = player:GetItemByPos(-1, slot)
but the function is :
item = Player:GetItemByPos( bag, slot )
So you need to change this -1 to something else.Code:number bag The bag the Item is in, you can get this with Item:GetBagSlot. Valid numbers: integers from 0 to 255. number slot The slot the Item is in within the bag, you can get this with Item:GetSlot. Valid numbers: integers from 0 to 255.
Try with bag = 255 :
Code:bag = 255 slots 0-18 equipment slots 19-22 equipped bag slots slots 23-38 backpack slots 39-66 bank main slots slots 67-74 bank bag slots slots 86-117 keyring
Last edited by westtunger; 07-05-2016 at 11:13 AM.Achievements:
Try this instead:
though westtunger is right about the error, the script in that thread is more updated.
Last edited by Rochet2; 07-05-2016 at 06:35 PM.Awards:
rochet2.github.io - Home of great codes
There are currently 1 users browsing this thread. (0 members and 1 guests)