Lamani Posted January 26, 2023 Share Posted January 26, 2023 var config = { bet: { label: 'bet', value: currency.minAmount * 1.2, type: 'number' }, payout: { label: 'payout', value: 2, type: 'number' } } function main () { game.onBet = function () { game.bet(config.bet.value, config.payout.value).then(function(payout) { if (payout > 1) { log.success("We won, payout " + payout + "X!"); } else { log.error("We lost, payout " + payout + "X!"); } }); } } Link to comment Share on other sites More sharing options...
GareebAadmi Posted March 23, 2023 Share Posted March 23, 2023 what is this brother Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.