Hello Need Urgent Help
#1

Hello friends,

I am trying to convert my Gamemode from Y/ini to mysql but this giving errors

Код:
    mysql_tquery(mysql, "CREATE TABLE IF NOT EXISTS `players`(\
                        `ID` int(10) NOT NULL AUTO_INCREMENT, \
                        `Username` varchar(24) NOT NULL, \
                        `Password` varchar(129) NOT NULL, \
                        `IP` varchar(16) NOT NULL, \
                        `Admin` int(10) NOT NULL, \
                        `VIP` int(10) NOT NULL, \
                        `Ban` int(10) NOT NULL, \
						`Kills` int(10) NOT NULL, \
						`Deaths` int(10) NOT NULL, \
						`Score` int(10) NOT NULL, \
						`Cash` int(10) NOT NULL, \
						`Skin` int(10) NOT NULL, \
						`Jail` int(10) NOT NULL, \
						`Headshots` int(10) NOT NULL, \
						`Bombs` int(10) NOT NULL, \
						`Veh1` int(10) NOT NULL, \
						`Veh2` int(10) NOT NULL, \
						`Veh3` int(10) NOT NULL, \
						`Veh4` int(10) NOT NULL, \
						`Veh5` int(10) NOT NULL, \
						`Veh6` int(10) NOT NULL, \
						`Veh7` int(10) NOT NULL, \
						`Veh8` int(10) NOT NULL, \
						`Veh9` int(10) NOT NULL, \
						`Veh10` int(10) NOT NULL, \
						`Lock` int(10) NOT NULL, \
						`Cloths` int(10) NOT NULL, \
						`Helper` int(10) NOT NULL, \
						`AK47` int(10) NOT NULL, \
						`M4` int(10) NOT NULL, \
						`SP` int(10) NOT NULL, \
						`Balance` int(10) NOT NULL, \
						`Duelwon` int(10) NOT NULL, \
						`Duellose` int(10) NOT NULL, \
						`Kick` int(10) NOT NULL, \
						`Warns` int(10) NOT NULL, \
						`Mathwin` int(10) NOT NULL, \
						`Moneybag` int(10) NOT NULL, \
						`BanAdmin` varchar(24) NOT NULL, \
						`BanReason` varchar(32) NOT NULL, \
                        PRIMARY KEY (`ID`))", "", "");
Errors

(1971) : error 075: input line too long (after substitutions)
(1972) : error 037: invalid string (possibly non-terminated string)
(1972) : error 017: undefined symbol "CREATE"
(1972) : error 017: undefined symbol "TABLE"
(1972) : fatal error 107: too many error messages on one line

I know how to use strcat to divide long line in small but i dont know how to do that in this case
Kindly help

Thanks.
Reply


Messages In This Thread
Hello Need Urgent Help - by MBilal - 16.08.2015, 12:44
Re: Hello Need Urgent Help - by Isolated - 16.08.2015, 12:47
Re: Hello Need Urgent Help - by MBilal - 16.08.2015, 13:10
Re: Hello Need Urgent Help - by dominik523 - 16.08.2015, 13:15
Re: Hello Need Urgent Help - by MBilal - 16.08.2015, 13:19
Re: Hello Need Urgent Help - by Isolated - 16.08.2015, 13:53
AW: Hello Need Urgent Help - by Nero_3D - 16.08.2015, 13:54
AW: Hello Need Urgent Help - by Macronix - 16.08.2015, 13:54
Re: Hello Need Urgent Help - by MBilal - 16.08.2015, 14:01
Re: Hello Need Urgent Help - by DaniceMcHarley - 16.08.2015, 15:18

Forum Jump:


Users browsing this thread: 1 Guest(s)