<action actionid="1000" event="script" value="outfit.lua"/>
function onUse(cid, item, fromPosition, itemEx, toPosition)
local outfit = {lookType = 0}
if isPlayer(cid) then
doCreatureChangeOutfit(cid, outfit)
doPlayerSendTextMessage(cid,22, "Congratz, you have gained a outfit")
end
return true
end
function onUse(cid, item, fromPosition, itemEx, toPosition)
if isPlayer(cid) then
doPlayerAddOutfit(cid, looktypehere, 0)
doPlayerSendTextMessage(cid,22, "Congratz, you have gained a outfit")
end
return true
end