Ir para conteúdo
  • 0

Aurea Pra Vip


Bocoh

Pergunta

6 respostass a esta questão

Posts Recomendados

  • 0

Vá em data/creaturescripts/scripts/ copie e cole qualquer arquivo dentro da pasta e o renomeie para Aura vip.lua e cole isso dentro:

 

 

--Aura Vip Com AutoMensagem--

--by: Animation--

 

local FRASES = {"VIP"} -- Auto-Mensagem.

local effect = 49

 

function onLogin(cid)

sendEffect(cid)

registerCreatureEvent(cid, "AdvEffect")

return TRUE

end

 

function sendEffect(cid)

if isCreature(cid) then

if getPlayerStorageValue(cid, 13540) - os.time() >= 1 then

pos = getThingPos(cid)

doSendAnimatedText(pos, FRASES[math.random(#FRASES)], 215)

doSendMagicEffect(pos, effect)

addEvent(sendEffect, 3000,cid)

end

end

end

 

 

 

Vip = Mensagem automática que aparece no player

49 = ID do efeito que aparece no player

13540 = Storage Vip se seu sistema vip for de storage

215 = Cor que sera dado a mensagem automática

3000 = Tempo em Segundos que sera executado e Efeito e a Mensagem automática

 

Agora Vá em data/creaturescripts/creaturescripts.xml e cole essa tag dentro:

<event type="login" name="Aurea" script="efeito vip.lua"/>

 

 

<event type="login" name="Aurea" script="efeito vip.lua"/>

 

 

Editado por LTKReturns
Link para o comentário
Compartilhar em outros sites

  • 0

Tenta Esse

 

Abra globalevents.xml e adiciona esse tag

 

 

<globalevent name="effect" interval="5" event="script" value="effect.lua"/>

 

 

Agora abra globalevents/scripts cria 1 scripts chamado effect e adiciona isso dentro

 

 

 

function onThink(interval, lastExecution)

for _, name in ipairs(getOnlinePlayers()) do

local cid = getPlayerByName(name)

if getPlayerStorageValue(cid, 13540) >= 1 and not getPlayerGhostAccess(cid) then

doSendMagicEffect(getPlayerPosition(cid), 27)

doSendAnimatedText(getPlayerPosition(cid), "VIP!", 180)

end

end

return true

end

 

OBS: Onde Eu Destaquei Em Vermelho No Script è O Storage Da Sua VIP!

Link para o comentário
Compartilhar em outros sites

  • 0

10 % all hits

tipow asim aura lvl 400+ e que de 10 resistence all

 

eu tenho esse >>

 

 

 

function sendEffect(cid)

if isCreature(cid) then

local pos = getCreaturePosition(cid)

local x = math.random(pos.x,pos.x)

local y = math.random(pos.y,pos.y)

doSendMagicEffect({x=x,y=y,z=pos.z}, 66)

addEvent(sendEffect,1800,cid)

end

end

function onLogin(cid)

if getPlayerLevel(cid) >= 350 then

registerCreatureEvent(cid, "auraprotec.lua")

sendEffect(cid)

end

registerCreatureEvent(cid, "AdvEffect")

return TRUE

end

function onAdvance(cid, skill, oldLevel, newLevel)

if skill == SKILL__LEVEL and newLevel == 350 then

registerCreatureEvent(cid, "auraprotec.lua")

sendEffect(cid)

end

return TRUE

end

Editado por Dersinho
Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...