27.06.2014, 15:43
I tried to use "CREATE TABLE IF NOT EXISTS" func and I got an error on this:
Thanks in advance!
pawn Код:
mysql_format(MySQL, gQuery, 128,
"CREATE TABLE IF NOT EXISTS `"Users_Table"` ("\
"`AccountID` int(10) NOT NULL AUTO_INCREMENT,"\
"`UserName` varchar(25) NOT NULL,"\
"`Password` varchar(129) NOT NULL,"\
"`IP` varchar(16) NULL,"\
"`Level` int(15) NULL,"\
"`Money` int(15) NULL,"\
"`Score` int(15) NULL,"\
"`Kills` int(15) NULL,"\
"`Deaths` int(15) NULL,"\
"`Rapes` int(15) NULL,"\
"`Kidnaps` int(15) NULL,"\
"`Robberys` int(15) NULL,"\
"`Ropes` int(15) NULL,"\
"`C4` int(15) NULL,"\
"PRIMARY KEY (`AccountID`)"\
") ENGINE=InnoDB DEFAULT CHARSET=latin1;");
mysql_tquery(MySQL, gQuery, "OnTableCreate", "");
Код:
C:\Users\Matt\Desktop\MP-Related\SAMP 0.3z Server Package\gamemodes\SACNR.pwn(143 -- 159) : error 075: input line too long (after substitutions)