Zell Posted June 2, 2018 Group: Members Topic Count: 53 Topics Per Day: 0.01 Content Count: 412 Reputation: 266 Joined: 04/25/12 Last Seen: Saturday at 11:42 PM Share Posted June 2, 2018 View File Simple DailyZell Hello everyone. I came this time to bring an old daily reward system that I did. Most of the daily reward systems are so complicated for no reason. The system draws every day (or each reload) an item from the list of rewards, which can be vip, cash or an item. Items that have already been drawn will only be drawn once the entire list has been drawn. //SQL and insert sample CREATE TABLE IF NOT EXISTS `daily_account` ( `aid` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `daily` ( `id` int(2) NOT NULL, `type` int(3) NOT NULL, `value` int(10) NOT NULL, `take` int(2) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; INSERT INTO `daily` (`id`, `tipo`, `valor`, `take`) VALUES (1, 2, 1, 0), (2, 673, 1, 0), (3, 673, 3, 0), //ID: Daily ID //TYPE: 1 = Cash // 2 = Vip // 500+ = Item ID //VALUE: type 1 = Cash value // type 2 = Vip Day // type 3 = Item Quantity Acctually players have to stay online 40 minutes to receive the daily reward. You can change this here sleep2 2400000; Inside of the rar you will found cutins sample examples of how you can make yours Submitter Zell Submitted 05/31/2018 Category Utilities Video Content Author Zell Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.