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
You need to be a member in order to leave a comment
Sign up for a new account in our community. It's easy!
Register a new accountAlready have an account? Sign in here.
Sign In Now