antiblock
Cyphriun
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
©FULL

[Npc] Menu Com Várias Lojas?

Question

Boas pessoal,

Eu ando à procura de um npc, que tenha várias lojas dentro dele.

(Por ex: Vendedor de armas, com um menu a dizer: Armas de guerreiro; Armas de sura; ...)

Espero que me possam ajudar, =P!

Cumprimentos.

Share this post


Link to post
Share on other sites

8 answers to this question

  • 0

Tambem andava á procura de algo do genero..mas até agora tá complicado :

Share this post


Link to post
Share on other sites
antiblock
https://i.imgur.com/aJ17bf7.gif
  • 0

Isso faz-se por quest.

quest varias_janelas beginstate start begin  when 9001.chat."Armas de Guerreiro" begin   npc.open_shop(ID)   setskin(NOWINDOW)  end  when 9001.chat."Armas de Sura" begin   npc.open_shop(ID)   setskin(NOWINDOW)  endendend
Em ID colocam o ID da shop.

Share this post


Link to post
Share on other sites
  • 0

Bom se for para as files do rancoroso como não tem o NPC 9003 no objet tera que fazer uma quest para criar a pasta do npc para poder editar as opções dentro dele ! em tutoriais e dicas tem um tutorial sobre isso !

Espero ter ajudo !

Cumprimentos: Clinton Correia

Share this post


Link to post
Share on other sites
  • 0

Hmmm vou testar,thanks aos 2 ;)

Share this post


Link to post
Share on other sites
  • 0

Quest blablabla()falta algo

sate start begin

when ID DO NPC.chat(ou click) then

locale s = ("Espadas" ; "Adagas " , "Cancelar")

If s = 1 then

npc.openshop(ID DA SHOP)(Algo assim '-')

If s = 2 then

npc.openshop(ID DA SHOP)(Algo assim '-')

If s = 3 then

Return

end

end

end

Acho de ser isso mais ou menos, ja n vejo quest's a muito tempo nem mexo nelas '-'

(Minha Net falhou while eu tava a writting isto)

Share this post


Link to post
Share on other sites
  • 0

Quest blablabla()falta algo

sate start begin

when ID DO NPC.chat(ou click) then

locale s = ("Espadas" ; "Adagas " , "Cancelar")

If s = 1 then

npc.openshop(ID DA SHOP)(Algo assim '-')

If s = 2 then

npc.openshop(ID DA SHOP)(Algo assim '-')

If s = 3 then

Return

end

end

end

Acho de ser isso mais ou menos, ja n vejo quest's a muito tempo nem mexo nelas '-'

(Minha Net falhou while eu tava a writting isto)

Não fechas os if, nem usas elseif.

Share this post


Link to post
Share on other sites
  • 0

Eu falei que não mexia em quest ah bues '-'

Share this post


Link to post
Share on other sites
  • 0

Obrigado a todos por me esclarecerem ^^

Cumprimentos.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this