Nemo2010
Member
very nice rep++ to u
CREATE TABLE `lottery` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(255) NOT NULL,
`item` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
INSERT INTO `lottery`(`id`, `name`, `item`) VALUES (NULL , 'Nobody', 'nothing');
You forgot upgrading your first post.
Code:CREATE TABLE `lottery` ( `id` int(11) NOT NULL auto_increment, `name` varchar(255) NOT NULL, `item` varchar(255) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
Code:INSERT INTO `lottery`(`id`, `name`, `item`) VALUES (NULL , 'Nobody', 'nothing');
You forgot upgrading your first post.
Code:CREATE TABLE `lottery` ( `id` int(11) NOT NULL auto_increment, `name` varchar(255) NOT NULL, `item` varchar(255) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
__________________Code:INSERT INTO `lottery`(`id`, `name`, `item`) VALUES (NULL , 'Nobody', 'nothing');
You are welcome on kleksoria.com!
Please visit new open tibia forum with it's own ots list. otservers.net!
@Pepsi:
Exactly
Every x hours (default 3) script get random player from online list and give him prize :wub:
P.S small script update (untested because im on turkey now and i can't check, so please raport any errors)
so you mean i can afk-traing on the server, and every 3th hour i got a chance to win a reward! rofl ;p haha
pretty nice script if you want your players to stay online though