testa ae..
function doCloneOut(cid, outfit, time)
if not isCreature(cid) then return true end
doSetCreatureOutfit(cid, outfit, time)
end
function onCastSpell(cid, var)
local taget = getCreatureTarget(cid)
if not isCreature(target) then
return doPlayerSendTextMessage(cid, 27, "You need a target to use this!")
end
local time = 10000 --10s
doCloneOut(cid, getCreatureOutfit(target), time)
return true
end







info
Grupo: Cavaleiro
Registrado: 04/09/12
Posts: 185
Reputação: +2
Gostaria de uma spell que quando usada no target, eu copiaria a roupa e a cor da roupa por um tempo.
REP+ para quem conseguir.
Vlw