Ir para conteúdo
Banner com Efeitos

Featured Replies

  • Respostas 11
  • Visualizações 2.4k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • fas assim vá em globalevents/scripts e cria o arquivo chamado effect.   cola isso dentro   function onThink(interval, lastExecution) local tabela = { [8]= 68, [9]= 123, } local players = getPlaye

  • ViTiNhO Lookiz
    ViTiNhO Lookiz

    Vlw ZwhiteDog, Me Ajudou Mt Obrigadao ai <3 Quiser Add Skype : vitinhopvp.mt   a i entre } e localplayers denque colcoar uns spaço function onThink(interval, lastExecution) local tabela = {

Postado

Eu uso no meu server assim

 

globalevents:

function onThink(interval, lastExecution)


local tabela = {
[48]= 12,
[56]= 12,
[55]= 12,
[62]= 13,
[82]= 27,
[84]= 27,
[92]= 27,
[94]= 27,
[95]= 12,
}
local players = getPlayersOnline()
for _, pid in ipairs(getPlayersOnline()) do
if tabela[getPlayerVocation(pid)] then
playerpos = getPlayerPosition(pid)
doSendMagicEffect(playerpos, tabela[getPlayerVocation(pid)])
end
end
return true
end

tag:

 

entao, ai eu coloco o efeito na vocation.

 

TIPO:

 

Colo na Vocation 2, ai a vocaçao que começa é a 1 ai quando uso transform mudar pra vocation 2, roupa e fica o efeito subindo.

Editado por ZwhiteDog (veja o histórico de edições)

Administração é a arte de criar os caminhos que levam a humanidade à excelência de suas realizações.

 

fHEDOxC.png

Postado
  • Autor

Ei Amigo Meu Nao Funcionou eu coloquei pra usar vocation 8 e 9 e nao foi :/ olha geito coloquei ve si tem algo errado :/

 

 function onThink(interval, lastExecution)

local tabela = {
[8]= 68,
[9]= 123,
}
local players = getPlayersOnline()
for _, pid in ipairs(getPlayersOnline()) do
if tabela[getPlayerVocation(pid)] then
playerpos = getPlayerPosition(pid)
doSendMagicEffect(playerpos, tabela[getPlayerVocation(pid)])
end
end
return true
end
 
Ve si Tenha algo errado si tiver me explica ai porfavor :)
Postado
  • Solução

fas assim vá em globalevents/scripts e cria o arquivo chamado effect.

 

cola isso dentro

 

function onThink(interval, lastExecution)

local tabela = {
[8]= 68,
[9]= 123,
}
local players = getPlayersOnline()
for _, pid in ipairs(getPlayersOnline()) do
if tabela[getPlayerVocation(pid)] then
playerpos = getPlayerPosition(pid)
doSendMagicEffect(playerpos, tabela[getPlayerVocation(pid)])
end
end
return true
end
 
 
 
vai em globalevents.xml e cola isso:
 
<globalevent name="Effect" interval="0" event="script" value="effect.lua"/>
 
fas como eu digo e testa.

Administração é a arte de criar os caminhos que levam a humanidade à excelência de suas realizações.

 

fHEDOxC.png

Postado
  • Autor

Vlw ZwhiteDog, Me Ajudou Mt Obrigadao ai :) <3

Quiser Add Skype : vitinhopvp.mt :)

 

a i entre } e localplayers denque colcoar uns spaço

function onThink(interval, lastExecution)

local tabela = {
[8]= 68,
[9]= 123,
}
 
local players = getPlayersOnline()
for _, pid in ipairs(getPlayersOnline()) do
if tabela[getPlayerVocation(pid)] then
playerpos = getPlayerPosition(pid)
doSendMagicEffect(playerpos, tabela[getPlayerVocation(pid)])
end
end
return true
end
 
Tem quer Haver Um spaço pra poder ler a script

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.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.7k

Informação Importante

Confirmação de Termo