Kolorwanie:
Status:
123456789101112131415161718192021222324252627
function useItem(itemId, requiredCount)  
    local container = Container.GetFirst()  
 
    while (container:isOpen()) do 
        for spot = 0, container:ItemCount() do 
            local item = container:GetItemData(spot) 
            if (item.id == itemId) then
                if ((requiredCount == 0) or (item.count == requiredCount)) then
                    container:UseItem(spot, True)
                    sleep(100)
                    return true
                end
            end
        end 
        container = container:GetNext()  
    end 
    return false 
end 
 
Module.New('changedehshiet', function(mod)
    useItem(3031, 100)
    wait(400)
    useItem(3035, 100)
    wait(400)
    useItem(6558, 0)
    mod:Delay(800)
end)

Copyrights 2014-2019 © Wklejaj.pl Wszelkie prawa zastrzeżone.