Ir para conteúdo
Entre para seguir isso  
Magico_

Vocation Door

Recommended Posts

Magico_    0
Magico_

para concertar meu tópico...

 

modifikei a lvl door.. para uma vocation door...

 

 

um Exemplo de voc door... para soh Knights entrarem

 

function onUse(cid, item, frompos, item2, topos)

reqlvl = getPlayerLevel(cid)

reqvoc = getPlayerVocation(cid)

if item.uid == 6012 then

 if reqvoc == 4 and reqlvl >= 1 then

  pos = getPlayerPosition(cid)

 

  if pos.x == topos.x then

   if pos.y < topos.y then

    pos.y = topos.y + 1

   else

    pos.y = topos.y - 1

   end

  elseif pos.y == topos.y then

   if pos.x < topos.x then

    pos.x = topos.x + 1

   else

    pos.x = topos.x - 1

   end

  else

   doPlayerSendTextMessage(cid,22,'Stand in front of the door.')

   return 1

  end

 

  doTeleportThing(cid,pos)

  doSendMagicEffect(topos,12)

 else

  doPlayerSendTextMessage(cid,22,'You need level ' .. reqlevel .. ' to pass this door.')

 end

 return 1

else

 return 0

end

end[/b]

Besteirinha... mas.. interessante e útil...

Compartilhar este post


Link para o post
Convidado RoDDz   
Convidado RoDDz

Nooosssa .. muito bom , vo usar .. vlw ..

Compartilhar este post


Link para o post
Alokk    0
Alokk

esse script eh interessante.. eu tinha feito uma com teleport de porta nunca tinha tentado mais o colex manja bastante xD

Compartilhar este post


Link para o post
Jovial    2
Jovial

action legal e util flw

Compartilhar este post


Link para o post
Convidado Didao   
Convidado Didao

OlaNossa muito boa essa script.Nessas horas que a imaginação flui haha...Ate maisDidao//

Compartilhar este post


Link para o post
Convidado UrsO   
Convidado UrsO

Hmmm

 

Agora Aprovado

 

o/

Compartilhar este post


Link para o post
donald    0
donald

vlw é bem interessante

Compartilhar este post


Link para o post
All_Mad_Maniac    0
All_Mad_Maniac

Mto loko ^^Areas de hunt por vocação, sem nego atrapalhando !

Compartilhar este post


Link para o post
Kentaro    0
Kentaro

legal essa me deu uma ideia..tipo fazer uma action pra uma quest dos 10k =zinha tibia rl será qdá?

Compartilhar este post


Link para o post
sorrisotdr    0
sorrisotdr

nossa cara muito dahora, nunca tinha visto isso em ugar nenhum, bom trabalho, muito massa !

Compartilhar este post


Link para o post
Tr0p5    0
Tr0p5

seimplesinho...

com certeza ideia veio do leveldoor.. aHAUuh

mais eh muito util..

vlw mesmo

flw

 

~Tr0p5

Compartilhar este post


Link para o post
dragonjapa    0
dragonjapa

Quero esse script q Knight e Paladin podem entra eu n to conseguindo fazer isso postem pra mim com Knight e Paladin entrando na porta!

Compartilhar este post


Link para o post
Dankoo    1
Dankoo

parece ser bom, ainda n baxei... mas tah rox =)

Compartilhar este post


Link para o post
Magico_    0
Magico_

Knights:

function onUse(cid, item, frompos, item2, topos)

  reqvoc = getPlayerVocation(cid)

  reqlvl = getPlayerLevel(cid)

  if item.uid == XXXX then

     if reqvoc == 4 and reqlvl >= 1 then

        pos = getPlayerPosition(cid)

 

        if pos.x == topos.x then

           if pos.y < topos.y then

              pos.y = topos.y + 1

           else

              pos.y = topos.y - 1

           end

        elseif pos.y == topos.y then

           if pos.x < topos.x then

              pos.x = topos.x + 1

           else

              pos.x = topos.x - 1

           end

        else

           doPlayerSendTextMessage(cid,22,'Stand in front of the door.')

           return 1

        end

 

        doTeleportThing(cid,pos)

        doSendMagicEffect(topos,12)

     else

        doPlayerSendTextMessage(cid,22,'You need to be a knight to pass this door.')

     end

     return 1

  else

     return 0

  end

end

Pally:

function onUse(cid, item, frompos, item2, topos)

  reqvoc = getPlayerVocation(cid)

  reqlvl = getPlayerLevel(cid)

  if item.uid == YYYY then

     if reqvoc == 3 and reqlvl >= 1 then

        pos = getPlayerPosition(cid)

 

        if pos.x == topos.x then

           if pos.y < topos.y then

              pos.y = topos.y + 1

           else

              pos.y = topos.y - 1

           end

        elseif pos.y == topos.y then

           if pos.x < topos.x then

              pos.x = topos.x + 1

           else

              pos.x = topos.x - 1

           end

        else

           doPlayerSendTextMessage(cid,22,'Stand in front of the door.')

           return 1

        end

 

        doTeleportThing(cid,pos)

        doSendMagicEffect(topos,12)

     else

        doPlayerSendTextMessage(cid,22,'You need to be a paladin to pass this door.')

     end

     return 1

  else

     return 0

  end

end

 

 

Axo q é só isso.

 

~M</span><span style=\'color:red\'>y

Compartilhar este post


Link para o post
32623923    0
32623923

Parabéns, precisava dessa action msm!Atenciosamente, Equipe RoxDragon

Compartilhar este post


Link para o post
Dexpant    0
Dexpant

Fala oq eu tenho que editar: coloque em vermelho oq eu presciso editar

Agora n prescisa mais... Alguem ja me pasou tudo... Vkw cara

 

 

O que a equipe sabe fazer:

Spell(Dexpant) 100%

Action(Limph) 100%

Mapper(Dexpant[por enquanto])l 90%

Monster (Dexpant) 100%

Site (Dexpant) 80%

Design (Estamos prescisando): llllllllll 0%

 

Imagem Postada

 

Prescisando de uma magia, hunt, monstro ou site??? CLIQUE AQUI e faça ja a sua encomenda!!! Pagamento por: OT$.

 

Estamos prescisando de um mapper,Designer e um programador add: [email protected]</span>

 

com

Compartilhar este post


Link para o post
Dexpant    0
Dexpant

Fala oq eu tenho que editar: coloque em vermelho oq eu presciso editar

Agora n prescisa mais... Alguem ja me pasou tudo... Vkw cara

 

 

O que a equipe sabe fazer:

Spell(Dexpant) 100%

Action(Limph) 100%

Mapper(Dexpant[por enquanto])l 90%

Monster (Dexpant) 100%

Site (Dexpant) 80%

Design (Estamos prescisando): llllllllll 0%

 

Imagem Postada

 

Prescisando de uma magia, hunt, monstro ou site??? CLIQUE AQUI e faça ja a sua encomenda!!! Pagamento por: OT$.

 

Estamos prescisando de um mapper,Designer e um programador add: [email protected]</span>

 

com

Compartilhar este post


Link para o post
Bozonildo    0
Bozonildo

Aki aparece, you need level 501x to pass trough this door qdo eu coloco o código, pq?

Compartilhar este post


Link para o post
Entre para seguir isso  
  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×