mothh9

Untitled

May 24th, 2014
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.20 KB | None | 0 0
  1. <?php
  2. //Amount currently in the bank
  3. $amount = //data
  4. //Max profit
  5. $maxprofit = $amount / 10 //10% of bank is max profit
  6.  
  7. if($bet <= $maxprofit){
  8.     //Bet system here
  9. }
  10. else{
  11.     //Error here
  12. }
  13. ?>
Advertisement
Add Comment
Please, Sign In to add comment