K i got +1 and +2 stones in my shopping mall
but they dont work
i can buy them but i cant use them to compose
anyone know whats the deal?
but they dont work
i can buy them but i cant use them to compose
anyone know whats the deal?
if (BuyItem.ItemID >= 730001 && BuyItem.ItemID <= 730009)
BuyItem.Plus = int.Parse(BuyItem.ItemID.ToString().Substring(5));
You'd have to cast it as int depending on your compiler, most would cast it to double once you divided it. And, I haven't even touched any CO source in a long time now. Been making little games from scratch with the XNA framework, :) Here's a small example of the starting of one simpler game:Quote:
Only double and decimal values include the decimal.
So it would be 73000.
If it didnt work, you could always do:
Code:(int)(BuyItem.ItemID / 10)
int i = 3; int o = 2; double d = i / o;