sanjaychowdary
New Member
I'm making a system.What I want is, for every 6 items you have to buy 5 (so when the price is 5 each item, 6 items is not 30 but 25, same with 12, 18, 24 etc...)How would I do that?I thought it would be something like this:\[code\] if (amount % 6 == 0) { }</code>\[/code\]But that would get it one time if I'm correct.