[SHARE] lottery c++

hello here is my lottery npc. when some 1 buy ticket actualy he preform roll 1-100 and after 1h npc get’s all player with highter rolls and award with some gold.

http://pastebin.com/0g9REn7B say your opinion pleace /emoticons/default_smile.png

[FONT=Arial]better to make[/FONT][FONT=Arial] [/FONT][FONT=Arial]the container[/FONT][FONT=Arial] [/FONT][FONT=Arial]so as not[/FONT][FONT=Arial] [/FONT][FONT=Arial]to touch[/FONT][FONT=Arial] [/FONT][FONT=Arial]the DataBase[/FONT]

i was project for 3-4 h xD