©FULL 84 Posted February 14, 2013 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
0 Vaqueiro 0 Posted February 14, 2013 Tambem andava á procura de algo do genero..mas até agora tá complicado : 1 ©FULL reacted to this Share this post Link to post Share on other sites
0 'PACI 2,317 Posted February 14, 2013 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. 1 ©FULL reacted to this Share this post Link to post Share on other sites
0 Kɛɛɗ 519 Posted February 14, 2013 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 2 ©FULL and sαdηєss reacted to this Share this post Link to post Share on other sites
0 Vaqueiro 0 Posted February 14, 2013 Hmmm vou testar,thanks aos 2 ;) Share this post Link to post Share on other sites
0 NewWars 875 Posted February 14, 2013 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) 1 ©FULL reacted to this Share this post Link to post Share on other sites
0 'PACI 2,317 Posted February 14, 2013 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. 1 ©FULL reacted to this Share this post Link to post Share on other sites
0 NewWars 875 Posted February 14, 2013 Eu falei que não mexia em quest ah bues '-' 1 ©FULL reacted to this Share this post Link to post Share on other sites
0 ©FULL 84 Posted February 14, 2013 Obrigado a todos por me esclarecerem ^^ Cumprimentos. Share this post Link to post Share on other sites
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