Again.. Auto creating tables..
#1

I tried to use "CREATE TABLE IF NOT EXISTS" func and I got an error on this:
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)
Thanks in advance!
Reply


Messages In This Thread
Again.. Auto creating tables.. - by biker122 - 27.06.2014, 15:43
Re : Again.. Auto creating tables.. - by Clad - 27.06.2014, 15:45
Re: Again.. Auto creating tables.. - by biker122 - 27.06.2014, 16:03
Re: Again.. Auto creating tables.. - by Vince - 27.06.2014, 16:07
Re: Again.. Auto creating tables.. - by biker122 - 27.06.2014, 16:14

Forum Jump:


Users browsing this thread: 1 Guest(s)