Your browser does not support JavaScript or its disabled!
Please turn it on, or be aware that some features on this website will not work correctly.
114
Choose Outfit #52
Uses the outfit window randomise to select an outfit.
I don't recommend you use this but its just an example on how to use other modules.
357b | 12 lines.
UI.Button("Outfit", function()
    g_game.requestOutfit()
    schedule(100, function()
        if modules.game_outfit.outfitWindow then
            modules.game_outfit.outfitWindow:hide()
            modules.game_outfit.randomize()
            schedule(1000, function()
                modules.game_outfit.accept()
            end)
        end
    end)
end)

09 Aug 2021