• 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!

TFS 1.X+ AddItemEx(clon) not appear but the script says i recieve it xD

Acubens

Old Penguin
Joined
May 6, 2008
Messages
1,259
Solutions
13
Reaction score
183
Location
Venezuela
Hello guys i got a problem today im trying use item:clone() to copy item but look, if use this

Lua:
local clone = containerItem:clone()

if(containerItem:remove())
    if(player:addItemEx(clone)) then
        player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, ">> [Autoloot]: You looted the item.")
    else
        clone:remove()
        player:sendTextMessage(MESSAGE_STATUS_CONSOLE_RED, ">> [Autoloot]: You can't pickup: the item.")
    end
end

The script tell me the item is added to the character but not appear, maybe it keep on memory? what method would can solve this? thanks
 
Back
Top