kimok02 Posted February 7, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 15 Reputation: 0 Joined: 01/18/13 Last Seen: April 17, 2023 Share Posted February 7, 2013 aku try gune script ni tak jadi tcg shop dia tak dpat scan tcg aku prontera,138,183,5 script TCG Uppers 793,{ mes .name$; mes "You currently have "+countitem(.tcg_item)+" TCG."; mes "Would you like to look at the shop?"; next; if(select("Yes:No") == 2) {close;} close2; callshop "TCG_SHOP",1; npcshopattach "TCG_SHOP"; dispbottom "You currently have "+countitem(.tcg_item)+" TCG."; end; OnBuyItem: for(set @i,0; @i < getarraysize(@bought_nameid); set @i,@i+1) { for(set @j,0; @j < getarraysize(.TCG_ITEMS); set @j,@j+1) { if(.TCG_ITEMS[@j] == @bought_nameid[@i]) { set @itemcost,(.ITEMPRICE[@j]*@bought_quantity[@i]); set @totalcost,(@totalcost+@itemcost); break; } } } if(@totalcost > countitem(.tcg_item)) { dispbottom "You don't have enough TCG."; } else { for(set @i,0; @i < getarraysize(@bought_nameid); set @i,@i+1) { getitem @bought_nameid[@i],@bought_quantity[@i]; } delitem .tcg_item,@totalcost; dispbottom "Thank you for shopping."; dispbottom "You now have "+countitem(.tcg_item)+" TCG left."; } set @totalcost,0; deletearray @bought_nameid[0],128; deletearray @bought_quantity[0],128; end; OnInit: npcshopdelitem "TCG_SHOP",909; // Leave this alone set .name$,"[TCG Uppers]"; set .tcg_item,7227; // Input TCG ID setarray .TCG_ITEMS[0],20001; // Item IDs - 128 max setarray .ITEMPRICE[0],30; // Item prices - Should followe ID's order for(set .@i,0; .@i < getarraysize(.TCG_ITEMS); set .@i,.@i+1) { npcshopadditem "TCG_SHOP",.TCG_ITEMS[.@i],.ITEMPRICE[.@i]; } end; } - shop TCG_SHOP -1,909:20 Quote Link to comment Share on other sites More sharing options...
mrlongshen Posted February 7, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted February 7, 2013 hai awk. saya cadangkan awak menggunakan multiple shop by emistry . Quote Link to comment Share on other sites More sharing options...
kimok02 Posted February 7, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 15 Reputation: 0 Joined: 01/18/13 Last Seen: April 17, 2023 Author Share Posted February 7, 2013 hmmm tq info kalo ade cash shop boleh ksi tak?? Quote Link to comment Share on other sites More sharing options...
mrlongshen Posted February 7, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted February 7, 2013 cari di download. ada juga cash... Quote Link to comment Share on other sites More sharing options...
mrfizi Posted February 23, 2013 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 383 Reputation: 78 Joined: 10/30/12 Last Seen: March 17 Share Posted February 23, 2013 hmmm tq info kalo ade cash shop boleh ksi tak?? Cash shop npc adalah yang terpaling mudah di dalam banyak-banyak script. Anda boleh gunakan yang ini: prontera.gat,184,177,5 cashshop Donation Girl 116,<itemID>:<cashPoint>,<itemID>:<cashPoint> //boleh ditambah berapa banyak yang anda mahu.. Harap dapat membantu Quote Link to comment Share on other sites More sharing options...
Checkmate Posted March 23, 2013 Group: Members Topic Count: 96 Topics Per Day: 0.02 Content Count: 554 Reputation: 14 Joined: 09/24/12 Last Seen: November 20, 2024 Share Posted March 23, 2013 Maaf menyibuk tapi... saya da gunakan emistry shop... memang terbaik... kita dapat mengubah apa sahaja nilai matawang yg kita ingin gunakan untuk memebeli brg2... kita juga dapat memasukkn quest ke dalam script tersebut....Sekiranya anda tidak memahami boleh lah rujuk pada saya atau emistry sendiri... Quote Link to comment Share on other sites More sharing options...
mrlongshen Posted March 23, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted March 23, 2013 Maaf menyibuk tapi... saya da gunakan emistry shop... memang terbaik... kita dapat mengubah apa sahaja nilai matawang yg kita ingin gunakan untuk memebeli brg2... kita juga dapat memasukkn quest ke dalam script tersebut.... Sekiranya anda tidak memahami boleh lah rujuk pada saya atau emistry sendiri... terbaik kan ? Quote Link to comment Share on other sites More sharing options...
Checkmate Posted March 23, 2013 Group: Members Topic Count: 96 Topics Per Day: 0.02 Content Count: 554 Reputation: 14 Joined: 09/24/12 Last Seen: November 20, 2024 Share Posted March 23, 2013 Yap... Senang je sebenarnya... Mula- mula memang tidak faham... tapi baca description dier.....Kamu akan faham... ^^ mrlongshen....?..? taw cara masukkn custom map? Quote Link to comment Share on other sites More sharing options...
mrlongshen Posted March 23, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted March 23, 2013 Yap... Senang je sebenarnya... Mula- mula memang tidak faham... tapi baca description dier..... Kamu akan faham... ^^ mrlongshen....?..? taw cara masukkn custom map? sangat senang nk masukkan custom map. nape ? Quote Link to comment Share on other sites More sharing options...
Checkmate Posted March 24, 2013 Group: Members Topic Count: 96 Topics Per Day: 0.02 Content Count: 554 Reputation: 14 Joined: 09/24/12 Last Seen: November 20, 2024 Share Posted March 24, 2013 cmner eak... ajarain?..??Aq tgkl tuto x dpt2... siot jerk...Aq da addd ym kamu... Quote Link to comment Share on other sites More sharing options...
mrlongshen Posted March 24, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted March 24, 2013 add skype saya. Quote Link to comment Share on other sites More sharing options...
Question
kimok02
aku try gune script ni tak jadi tcg shop dia tak dpat scan tcg aku
Link to comment
Share on other sites
10 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.