By Mozark V1.0
Bate-Papo By Mozark
Colocando Raios
Aqui Encinarei como colocar raio nas transforms:
va em CreatureScripts/Scripts e crie um arkivo.Lua
La digite:
efeitos = {
[3] = 14, [3] ID da vocation
[4] = 234, 234 ID do Effect
[5] = 13,
[6] = 14,
[7] = 234,
[9] = 231,
[63] = 231,
[64] = 14,
}
function onLogin(cid)
for voc, efec in pairs(efeitos) do
if voc == getPlayerVocation(cid) then
doEffect(cid)
break
end
end
return TRUE
end
function doEffect(cid)
local delay = 1
if isCreature(cid) == TRUE then
doSendMagicEffect(getCreaturePosition(cid), efeitos[getPlayerVocation(cid)])
addEvent(doEffect, delay*1000, cid)
end
return TRUE
end
Tutorial By Mozark
va em CreatureScripts/Scripts e crie um arkivo.Lua
La digite:
efeitos = {
[3] = 14, [3] ID da vocation
[4] = 234, 234 ID do Effect
[5] = 13,
[6] = 14,
[7] = 234,
[9] = 231,
[63] = 231,
[64] = 14,
}
function onLogin(cid)
for voc, efec in pairs(efeitos) do
if voc == getPlayerVocation(cid) then
doEffect(cid)
break
end
end
return TRUE
end
function doEffect(cid)
local delay = 1
if isCreature(cid) == TRUE then
doSendMagicEffect(getCreaturePosition(cid), efeitos[getPlayerVocation(cid)])
addEvent(doEffect, delay*1000, cid)
end
return TRUE
end
Tutorial By Mozark

Assinar:
Postar comentários (Atom)
1 comentários:
Postar um comentário