Hi guys, i've got a error in my inventory system, when i want to take a object from a car, i've got a "please wait..." and it don't moove
elseif item[1] > 0 then
local furniture_shop_box_ID = exports["furniture-system"]:getBoxItemID()
if item[1] == furniture_shop_box_ID then
triggerEvent("furniture:stock:transfer", source, source, element, item[1], item[2], true)
end
if getElementData(source, "furniture:carry:isCarrying") then
outputChatBox("Vous portez déjà une boîte comprenant des meubles!", source, 255, 0, 0)
return
end
output( element, source, item[1], item[2])
moveItem( element, source, slot )
exports.logs:logMessage( name .. " #" .. getElementID(element) .. "->" .. getPlayerName( source ) .. " - " .. getItemName( item[1] ) .. " - " .. item[2], 17)
It is the code of the object (the outputchatbox are in french..).
The item i want to take is a furniture ? Can you help me ? Thank's