Bolby91 Posted May 4, 2020 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 60 Reputation: 0 Joined: 07/03/13 Last Seen: February 12 Share Posted May 4, 2020 (edited) Hi may i ask everyone if you guys know how to make a @shop command where you able to access tool dealer or potion npc anytime any place, and @sell to access seller npc thanks! Edited May 4, 2020 by Jholz27 Quote Link to comment Share on other sites More sharing options...
0 Jayz Posted May 5, 2020 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 407 Reputation: 55 Joined: 07/24/12 Last Seen: October 22, 2024 Share Posted May 5, 2020 8 hours ago, Jholz27 said: Hi may i ask everyone if you guys know how to make a @shop command where you able to access tool dealer or potion npc anytime any place, and @sell to access seller npc thanks! You can make bind atcmd and use callshop Quote Link to comment Share on other sites More sharing options...
0 Bolby91 Posted May 5, 2020 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 60 Reputation: 0 Joined: 07/03/13 Last Seen: February 12 Author Share Posted May 5, 2020 13 minutes ago, Zack- said: You can make bind atcmd and use callshop canyou give me an example? Quote Link to comment Share on other sites More sharing options...
0 Jayz Posted May 5, 2020 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 407 Reputation: 55 Joined: 07/24/12 Last Seen: October 22, 2024 Share Posted May 5, 2020 1 hour ago, Jholz27 said: canyou give me an example? - script tet12332 -1,{ OnInit: bindatcmd "shop",strnpcinfo(3)+"::tesst"; end; tesst: switch(select("Usable:Potion")){ case 1: callshop "usable",0; end; case 2: callshop "potion",0; end; } } - shop usable 89,505:10,506:15 - shop potion 89,505:10,506:15 like this Quote Link to comment Share on other sites More sharing options...
0 Bolby91 Posted May 5, 2020 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 60 Reputation: 0 Joined: 07/03/13 Last Seen: February 12 Author Share Posted May 5, 2020 6 hours ago, Zack- said: - script tet12332 -1,{ OnInit: bindatcmd "shop",strnpcinfo(3)+"::tesst"; end; tesst: switch(select("Usable:Potion")){ case 1: callshop "usable",0; end; case 2: callshop "potion",0; end; } } - shop usable 89,505:10,506:15 - shop potion 89,505:10,506:15 like this its not working tho Quote Link to comment Share on other sites More sharing options...
0 emundus Posted February 24, 2024 Group: Members Topic Count: 6 Topics Per Day: 0.01 Content Count: 37 Reputation: 7 Joined: 03/07/23 Last Seen: December 8, 2024 Share Posted February 24, 2024 (edited) Looking for a solution to my problem, I ended up generating the solution to yours: // Criado por Alek Emundus // comando @loja // abre a lojinha básica para vender/comprar itens - shop ComandoShop -1,506:-1,501:-1,502:-1,503:-1,504:-1,525:-1,601:-1,602:-1,1065:-1,645:-1,656:-1,657:-1,610:-1,713:-1 - script ShopComando -1,{ OnInit: bindatcmd "loja",strnpcinfo(3) + "::OnAtcommand"; end; OnAtcommand: callshop "ComandoShop"; end; } I hope it helps! Edited February 26, 2024 by emundus Prices set according to the database Quote Link to comment Share on other sites More sharing options...
Question
Bolby91
Hi may i ask everyone if you guys know how to make a @shop command where you able to access tool dealer or potion npc anytime any place, and @sell to access seller npc thanks!
Edited by Jholz27Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.