Você pode usar storage no outfit e setar o mesmo por um creaturescripts.
<outfit id="1" storageId="1415" storageValue="1">
<list gender="0" lookType="136" name="Citizen"/>
<list gender="1" lookType="128" name="Citizen"/>
</outfit>
function onLogin(cid)
local r = getCreatureOutfit(cid)
local roupa = {lookHead = r.lookHead, lookBody = r.lookBody, lookLegs = r.lookLegs , lookFeet = r.lookFeet}
if (getPlayerAccess(cid) <= 2) then
if isPlayer(cid) then
if getPlayerStorageValue(cid, 1415) == -1 then
if getPlayerVocation(cid) == 0 then -- Sem vocação
setPlayerStorageValue(cid,1415 ,1) -- Citzen
if getPlayerSex(cid) == 0 then -- Se for homem
doCreatureChangeOutfit(cid,{lookType = 136, roupa}) -- Roupa Masculina
else
doCreatureChangeOutfit(cid, {lookType = 128, roupa}) -- Roupa Feminina
end
end
end
if getPlayerStorageValue(cid, 1417) == -1 then
if getPlayerVocation(cid) == 1 then -- Sorcerer?
setPlayerStorageValue(cid,1417 ,1) -- Storage da roupa que voce quer, esta no XML/Outfits
if getPlayerSex(cid) == 0 then -- Se for homem
doCreatureChangeOutfit(cid,{lookType = 138, roupa}) -- Roupa Masculina
else
doCreatureChangeOutfit(cid, {lookType = 130, roupa}) -- Roupa Feminina
end
end
end
end
end
return true
end