Bolby91 Posted May 4, 2020 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
0 Jayz Posted May 5, 2020 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
0 Bolby91 Posted May 5, 2020 Author Posted May 5, 2020 13 minutes ago, Zack- said: You can make bind atcmd and use callshop canyou give me an example? Quote
0 Jayz Posted May 5, 2020 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
0 Bolby91 Posted May 5, 2020 Author 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
0 emundus Posted February 24, 2024 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
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 Jholz275 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.