MU

-=[TFS]=- 0.3.6 - 8.60 - [GLOBALEVENTS] - Proibido jogar item em cima do tile

Por Muvuka, 26 de mai. de 2024 em Scripts

2
632
MuvukaM
26 de maio de 2024 às 18:24
local config = {
    itemIds = {2445, 2550, 2436, 6101, 2408, 7435, 7429, 5803},
    position = {x = 156, y = 58, z = 7}
}

local currentIndex = 1

function onThink(cid, interval)
    local tile = getThingfromPos(config.position)
    local item = nil
    for _, id in ipairs(config.itemIds) do
        item = getTileItemById(config.position, id)
        if item.uid ~= 0 then
            doTransformItem(item.uid, config.itemIds[currentIndex])
            doSendMagicEffect(config.position, CONST_ME_MAGIC_GREEN)
            currentIndex = (currentIndex % #config.itemIds) + 1
            break
        end
    end
    return true
end

 

aws4_request&X-Amz-Date=20240527T002529Z

EU QUERIA QUE FICASSE ASSIM

aws4_request&X-Amz-Date=20240527T003613Z

Editado Maio 26 por Muvuka

El RusherE
28 de maio de 2024 às 20:36
Melhor resposta

se era pra ser uma imagem esta com erro meu amigo