public MySQL_Start()
{
MysqlC = mysql_connect(mysql_host,mysql_user,mysql_database,mysql_password);
if(!MysqlC)
return print("Nгo foi possivel conectar a database, verifique as definiзхes novamente.");
else
{
mysql_function_query(MysqlC,
"CREATE TABLE IF NOT EXISTS `users` (\
`id` int(11) NOT NULL, AUTO_INCREMENT,\
`name` varchar(25) NOT NULL, \
`password` varchar(25) NOT NULL, \
`level` int(11) NOT NULL, \
`adminlevel` int(11) NOT NULL, \
`donaterank` int(11) NOT NULL, \
`connecttedtime` int(11) NOT NULL, \
`sex` int(11) NOT NULL, \
`respect` int(11) NOT NULL, \
`money` int(11) NOT NULL, \
`bank` int(11) NOT NULL, \
`crimes` int(11) NOT NULL, \
`kills` int(11) NOT NULL, \
`deaths` int(11) NOT NULL, \
`emprego` int(11) NOT NULL, \
`lider` int(11) NOT NULL, \
`member` int(11) NOT NULL, \
`char` int(11) NOT NULL, \
`bizz` int(11) NOT NULL, \
`house` int(11) NOT NULL, \
`married` int(11) NOT NULL, \
`marriedto` varchar(25) NOT NULL, \
PRIMARY KEY(`id`)\
)",false,"r@MySQL_Start","s","users");
}
return 1;
}
error 075: input line too long (after substitutions)
Use um strcat para dividir a string.
Dica: Nгo crie a tabela pelo gamemode por questхes de seguranзa, й um conselho. |
ok irei tentar novamente, caso der erros venho aki no forum
e sobre a criaзгo de tabelas pelo gamemode, apenas segui seu tutorial *-* |