function onUse(cid, item, fromPosition, itemEx, toPosition)
cfg.outfit = {"orc warrior", "pirate cutthroat", "dworc voodoomaster", "dwarf guard", "minotaur mage", "frost giant", "serpent spawn", "demon", "behemoth", "warlock"}
an doSetMonsterOutfit(cid, cfg.outfit[math.random(#cfg.outfit)], cfg.time * 60 * 1000)
cfg.storage = 10101
cfg.time = 5 -- Minutes
if(exhaustion.get(cid, cfg.storage) == true) then
doPlayerSendCancel(cid, "You can only use this once every " .. cfg.time .. " minutes.")
return true
end
if(getPlayerSex(cid) == PLAYERSEX_FEMALE) then
doSendAnimatedText(getCreaturePosition(cid), 'GiRl', TEXTCOLOR_GOLD)
elseif(getPlayerSex(cid) == PLAYERSEX_MALE) then
doSendAnimatedText(getCreaturePosition(cid), 'MaLe', TEXTCOLOR_GOLD)
end
doSetCreatureOutfit(cid, cfg.outfit, cfg.time * 60 * 1000)
exhaustion.set(cid, cfg.storage, cfg.time * 60 * 1000)
return true
end