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.
--[[
Script made by Lee (Discord: l33_) - www.trainorcreations.com
If you want to support my work, feel free to donate at https://trainorcreations.com/donate
PS. Stop ripping off my work and selling it as your own.
]]--
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