Postado Outubro 6, 2014 10 anos Olá galera do TK .Entâo to com um poblema no query eu queria botar o sistema .. Link:http://www.tibiaking.com/forum/topic/41157-busque-a-cabe%C3%A7a-mandato-de-morte-script/ CREATE TABLE IF NOT EXISTS `busque-cabeca` ( `id` int(11) NOT NULL auto_increment, `fp_id` int(11) NOT NULL, 'sp_id` int(11) NOT NULL, 'k_id` int(11) NOT NULL, `added` int(15) NOT NULL, `prize` bigint(20) NOT NULL, `killed` int(11) NOT NULL, `kill_time` int(15) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; ~~
Postado Outubro 6, 2014 10 anos Bom você não disse qual banco está usando mais acho que seja Sqlite, mas tenta o seguinte. CREATE TABLE IF NOT EXISTS `busque-cabeca` ( `id` INTEGER AUTOINCREMENT, `fp_id` int(11) NOT NULL, 'sp_id` int(11) NOT NULL, 'k_id` int(11) NOT NULL, `added` int(15) NOT NULL, `prize` bigint(20) NOT NULL, `killed` int(11) NOT NULL, `kill_time` int(15) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; OUUU CREATE TABLE IF NOT EXISTS `busque-cabeca` ( `id` INTEGER PRIMARY KEY AUTOINCREMENT, `fp_id` int(11) NOT NULL, 'sp_id` int(11) NOT NULL, 'k_id` int(11) NOT NULL, `added` int(15) NOT NULL, `prize` bigint(20) NOT NULL, `killed` int(11) NOT NULL, `kill_time` int(15) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; Editado Outubro 6, 2014 10 anos por haith (veja o histórico de edições)
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.