Mmg take bet
Revision as of 20:19, 12 March 2010 by imported>StDoodle (Created page with '{{ #vardefine:name|mmg_take_bet}}{{ #vardefine:return_type|int}}{{ FunctionPage| name={{#var:name}}| function_category=Money Making Game| function1={{Function| name={{#var:name…')
needs(code_samples);
Function Syntax
int mmg_take_bet(int bet_id ,boolean storage )
- bet_id is the bet ID # to take
- storage is true if using meat from Hagnk's storage or false to use meat from inventory
Accepts the bet with the specified bet_id, using meat from inventory if storage is false or from Hagnk's storage if it is true. Returns the bet amount (as a negative number) if you lose the bet, and the bet amount minus the house cut (as a positive number) if you win.