So, I'm creating my server store ... The question is very simple, how to program Znote so that players can select the amount of "items" they want to buy (instead of buying one by one), at moment, if they want to buy 100 crystal coins, they have to click 100 times in "Purchase", as seen below! LoL
And in config.php, we have this:
(And yes, I'm pretty bad at programming... )
And in config.php, we have this:
Lua:
$config['shop_offers'] = array(
1 => array(
'type' => 1,
'itemid' => 2160, // item to get in-game
'count' => 1, // Stack number (10x itemid)
'description' => "10k, 1 crystal coin.", // Description shown on website
'points' => 1, // How many points this offer costs
),
(And yes, I'm pretty bad at programming... )
Attachments
-
shop.jpg108.4 KB · Views: 31 · VirusTotal