Olá galera , eu gostaria de por assim , quando o carinha bater , ele olhar para onde está o target , porque se nao ele iria ficar batendo no vento exemplo
eu to olhando pra << , e o meu target ta >> , minha outfit estára batendo no vento '-' , será que alguem poderia fazer pra eu??
local outfits = { [348] = 333, [347] = 329, [349] = 330, } function onCombat(cid, target) local tmp = getCreatureOutfit(cid) if outfits[tmp.lookType] then tmp.lookType = outfits[tmp.lookType] doSetCreatureOutfit(cid, tmp, 900) end return true end