Gostaria de um script (Spell) que deixa o player invisivel...
Eu pedi ajuda aqui anteriormente porém o script deixa o nick invisivel mais outfit fica = Utana VID, monstros e players podem ver... Script aqui:
local k = {
speed = 10,
tempo = 2,
storage = 25442,
}
local function visible(cid)
if not isPlayer(cid) then return true end
doCreatureSetHideHealth(cid, false)
doChangeSpeed(cid, getCreatureSpeed(cid) - k.speed)
end
function onCastSpell(cid, var)
if getPlayerStorageValue(cid, k.storage) > os.time() then
return doPlayerSendCancel(cid, "You are exhausted.")
end
doCreatureSetHideHealth(cid, true)
doSetCreatureOutfit(cid, {lookType = 0}, k.tempo*1000)
doChangeSpeed(cid, getCreatureSpeed(cid) + k.speed)
setPlayerStorageValue(cid, k.storage , os.time() + k.tempo)
addEvent(visible, k.tempo*1000, cid)
return true
end
Gostaria que ele ficasse mesmo invisivel!
Já tentei looktype 1548 mais da Debug. (looktype 1548 = tile invisivel).
Pergunta
subyth 38
Gostaria de um script (Spell) que deixa o player invisivel...
Eu pedi ajuda aqui anteriormente porém o script deixa o nick invisivel mais outfit fica = Utana VID, monstros e players podem ver... Script aqui:
Gostaria que ele ficasse mesmo invisivel!
Já tentei looktype 1548 mais da Debug. (looktype 1548 = tile invisivel).
PS: possuo Sources tfs 0.4, caso precise.
TRADUZINDO: uma spell para player = a do warlock
Editado por subythLink para o comentário
https://xtibia.com/forum/topic/219025-resolvido-player-invisivel/Compartilhar em outros sites
6 respostass a esta questão
Posts Recomendados