18.10.2013, 11:26
Hello dear samp members.
I have another prob with mysql..
CODE:
ERRORS:
Thank you for your time..
With best regards Scrillex!
I have another prob with mysql..
CODE:
pawn Код:
stock mySQL_init()
{
mysql_debug(1);
g_Handle = mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS);
/* Table Structure - kind of messy, I know. */
mysql_function_query(g_Handle, "CREATE TABLE IF NOT EXISTS `Accounts` ( \
`id` int(11) NOT NULL AUTO_INCREMENT, \
`name` varchar(24) NOT NULL, \
`pass` varchar(129) NOT NULL, \
`salt` varchar(30) NOT NULL, \
`health` float NOT NULL, \
`X` float NOT NULL, \
`Y` float NOT NULL, \
`Z` float NOT NULL, \
`A` float NOT NULL, \
`interior` int(2) NOT NULL, \
`vw` int(11) NOT NULL, \
`skin` int(3) NOT NULL, \
`Respect` int(3) NOT NULL, \ // ERROR STARTS FROM HERE!
`EXP` int(3) NOT NULL, \
`Level` int(3) NOT NULL, \
`Admin` int(3) NOT NULL, \
`VIP` int(3) NOT NULL, \
`Mapper` int(3) NOT NULL, \
`Helper` int(3) NOT NULL, \
PRIMARY KEY (`id`) \
)", false, "SendQuery", "");
return 1;
}
pawn Код:
304) : error 075: input line too long (after substitutions)
(305) : error 017: undefined symbol "mysql_function_query"
(305) : error 017: undefined symbol "CREATE"
(305) : error 017: undefined symbol "TABLE"
(305) : fatal error 107: too many error messages on one line
With best regards Scrillex!