Thanks daniel. Basil had just beaten you to it with a personal message
Been updating a few things with the shop, quite a fun little project. I now have it set up so if someone gets a new highscore in the arcade, then they get given 50 credits. My multiplier is up, though im not completely happy with it, but all in due course.
My next task is to make a scratchcard. I think i mentioned it before. Im trying to think of the best way to get the weighted results, so that basically, there is a 40% chance of 0, 20% of 100 credits, 5% of X credits, and so on. My only idea at the moment is to use the rand feature to generate a number between 1 - 100, and then that correspondes to the percentage. So 1-40 is 0 returns, 41-60 is 100 credits, etc, all the way to 100.
Anyone think of a better solution, as im not very trusting of the random thing, as my results see a little strnage...