Advertisement
Heckno

raffle buyer

Jun 20th, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. int ticketsToBuy = 25 - available_amount($item[raffle ticket]) - storage_amount($item[raffle ticket]);
  2.  
  3. if (ticketsToBuy > 0) {
  4. cli_execute("raffle "+to_string(ticketsToBuy));
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement