Luffy 14 Posted June 22, 2014 http://upaste.me/947c1309533ddb9c6 tulong boss sa pag dadagdag ng script sa Menu na " Buy Donate ". halimbawa pag pinili mo ang Buy Donate.may menu pa lalabas like headgears,item boost and etc.Buy Donate >◙ Headgears◙ Item boost◙ etc. Thank you in advance bro! Quote Share this post Link to post Share on other sites
0 Sunzuki 1 Posted June 23, 2014 suggest cashshop_db.conf - shop dynamicshop -1,501:222new_1-1,45,77,4 script Donation Shop 685,{ set .@currency, 7179; // pods mes "[Donation Shop]"; mes "What do you want to buy?"; next; switch(select("Headgears:Item Boost:etc") { //Headgears case 1: setarray .@items, 1750,1,1766,2; // Usage : <item id>,<price> break; //Item Boost case 2: setarray .@items, 1750,1,1766,2; // Usage : <item id>,<price> break; //etc case 3: setarray .@items, 1750,1,1766,2; // Usage : <item id>,<price> break; } npcshopitem "dynamicshop",0,0; for (set .@i, 0; .@i < getarraysize(.@items); set .@i, .@i + 2 ) npcshopadditem "dynamicshop",.@items[.@i], .@items[.@i+1]; callshop "dynamicshop",1; npcshopattach "dynamicshop"; end;OnBuyItem: for ( set .@j, 0; .@j < getarraysize(.@items); set .@j, .@j + 2 ) { for ( set .@k, 0; .@k < getarraysize(@bought_nameid); set .@k, .@k + 1 ) { if ( @bought_nameid[.@k] == .items[.@j] ) { if ( checkweight( @bought_nameid[.@k], @bought_quantity[.@k] ) ) { if ( countitem(.@currency) < .@items[.@j + 1] ) { mes "You don't have enough " +getitemname(.@currency)+ " to purchase this item."; close; } else { delitem .@currency, .@items[.@j + 1] * @bought_quantity[.@k]; getitem @bought_nameid[.@k], @bought_quantity[.@k]; dispbottom @bought_nameid[.@k]+" "+ .@items[.@j + 1]+" "+ .@currency; end; } } else dispbottom "You cannot carry out more items with you"; end; } } } deletearray @bought_quantity, getarraysize(@bought_quantity); deletearray @bought_nameid, getarraysize(@bought_nameid); end; OnInit: waitingroom "Donation Shop",0; end;} Quote Share this post Link to post Share on other sites
0 yueric04 0 Posted August 8, 2015 pa help din po ako server set up Quote Share this post Link to post Share on other sites
0 Vy Low 11 Posted August 8, 2015 pa help din po ako server set up anong problems na ung na eencounter mo? Quote Share this post Link to post Share on other sites
0 yueric04 0 Posted August 10, 2015 anu po ggwin sa MySQL Workbench @ Quote Share this post Link to post Share on other sites
0 Vy Low 11 Posted August 10, 2015 anu po ggwin sa MySQL Workbench @ its where you manage your database. Quote Share this post Link to post Share on other sites
0 yueric04 0 Posted August 23, 2015 @VyLow di ko parin po ma beta test ung server kahit completo na po set up sa mysql at sa config files Quote Share this post Link to post Share on other sites
0 Vy Low 11 Posted August 27, 2015 @VyLow di ko parin po ma beta test ung server kahit completo na po set up sa mysql at sa config files im not sure ano ung na eencounter mong problema haha state it clearly na lng Quote Share this post Link to post Share on other sites
http://upaste.me/947c1309533ddb9c6
tulong boss sa pag dadagdag ng script sa Menu na " Buy Donate ".
halimbawa pag pinili mo ang Buy Donate.
may menu pa lalabas like headgears,item boost and etc.
Buy Donate >
◙ Headgears
◙ Item boost
◙ etc
. Thank you in advance bro!
Share this post
Link to post
Share on other sites