Yello! Why is this that every item that exists belongs to CONST_SLOT_RIGHT, when the item is not desired to that slot and cannot be moved onto that slot. (I don't use classic equipment slots).
TFS 1.3 (10.98)
Script: (Which always prints fuck)
TFS 1.3 (10.98)
Script: (Which always prints fuck)
Lua:
function onUse(player, item, fromPosition, itemEx, toPosition)
local type = ItemType(itemEx:getId())
if isItemStackable(itemEx.itemid) then
player:sendTextMessage(MESSAGE_STATUS_SMALL, "Stackable items cant be upgraded.")
return false
end
if item.itemid ~= 8300 then
return false
end
if type:usesSlot(CONST_SLOT_RIGHT) then
print("fuck")
end
end