#1

Код:
(88 -- 104) : error 075: input line too long (after substitutions)
warning 217: loose indentation
error 017: undefined symbol "CREATE"
: error 017: undefined symbol "TABLE"
error 017: undefined symbol "IF"
: fatal error 107: too many error messages on one line
In PRIMARY KEY(`id`))" code

Код:
    if(sql_index)
    {
        db_free_result(
            db_query(sql_index,
                "CREATE TABLE IF NOT EXISTS `object_info` (`id` INTEGER NOT NULL,\
                `objmodel` INTEGER NOT NULL,\
                `text` TEXT NOT NULL,\
                `matindex` INTEGER NOT NULL,\
                `matsize` INTEGER NOT NULL,\
                `fontface` TEXT NOT NULL,\
                `fontsize` INTEGER NOT NULL,\
                `bold` NUMERIC NOT NULL,\
                `fontcolor` INTEGER NOT NULL,\
                `backgcolor` INTEGER NOT NULL,\
                `textalign` INTEGER NOT NULL,\
                `ox` REAL NOT NULL,\
                `oy` REAL NOT NULL,\
                `oz` REAL NOT NULL,\
                `rx` REAL NOT NULL,\
                `ry` REAL NOT NULL,\
                `rz` REAL NOT NULL,\
                PRIMARY KEY(`id`))"
            )
        );
Topic https://sampforum.blast.hk/showthread.php?tid=614667
Reply
#2

The line is too long, split them using strcat.
Reply
#3

Download this one it has error fixed
http://uptobox.com/qrp5a0lxdbxj -- by OTACON
Reply
#4

Quote:
Originally Posted by FuNkYTheGreat
Посмотреть сообщение
Download this one it has error fixed
http://uptobox.com/qrp5a0lxdbxj -- by OTACON
thanks +rep!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)