• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved doAddContainerItem help

Swirus98

dbdestination.eu
Joined
Dec 12, 2011
Messages
62
Reaction score
2
Location
Poland
I have problem with doAddContainerItem function :(
How to use this function to add items to the backpack on right hand?
 
Last edited:
Code:
local item = getPlayerSlotItem(cid, CONST_SLOT_LEFT) --or CONST_SLOT_RIGHT
if item and item.uid > 0 and isContainer(item.uid) then
doAddContainerItem(item.uid, ITEM_ID_CHANGE_IT)
end
 
Back
Top