12.10.2014, 14:19
Код:
Database = db_open("server.db"); db_query(Database, "CREATE TABLE IF NOT EXISTS users (userid INTEGER PRIMARY KEY AUTOINCREMENT, username VARCHAR(24) COLLATE NOCASE, password VARCHAR(129), admin INTEGER DEFAULT 0 NOT NULL, vip INTEGER DEFAULT 0 NOT NULL, money INTEGER DEFAULT 0 NOT NULL, score INTEGER DEFAULT 0 NOT NULL, kills INTEGER DEFAULT 0 NOT NULL, deaths INTEGER DEFAULT 0 NOT NULL, kd INTEGER DEFAULT 0 NOT NULL, banned INTEGER DEFAULT 0 NOT NULL, `X` FLOAT DEFAULT 0.0, 'Y' FLOAT DEFAULT 0.0, 'Z' FLOAT DEFAULT 0.0, INT INTEGER DEFAULT 0 NOT NULL, VWORLD INTEGER DEFAULT 0 NOT NULL)");
sql.pwn(103) : error 037: invalid string (possibly non-terminated string)
sql.pwn(103) : error 017: undefined symbol "CREATE"
sql.pwn(103) : error 017: undefined symbol "TABLE"
fatal error 107: too many error messages on one line
Help Plz