Postado Janeiro 27, 2018 7 anos Galera estou utilizando este script abaixo, a intenção dele é quando usar a spell ficar invisível e mudar a outfit, ele até muda mas não posso ver a outfit porquê aparece aquela sprite de quando ta de ghost na frente, aquele brilho azul, como resolvo isso pra sumir esse brilho e aparecer a outfit, segue o script: Spoiler local tempo = 5 -- Segundos que vai ficar invisível. local invis = createConditionObject(CONDITION_INVISIBLE) local mspiritout = {lookType = 378, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 3} local fspiritout = {lookType = 378, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 3} setConditionParam(invis, CONDITION_PARAM_TICKS, tempo*1000) function onCastSpell(cid, var) -------------------------------------------------------------------- local pos = getThingPosition(cid) local eff = 2 doSendMagicEffect({x=pos.x+0, y=pos.y+0, z=pos.z}, eff) doAddCondition(cid, invis) local sex = getPlayerSex(cid) if sex == 0 then doSetCreatureOutfit(cid, fspiritout, tempo*1000) else doSetCreatureOutfit(cid, mspiritout, tempo*1000) end return true end
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.