Create table if not exists
#1

Buenas, estaba comenzando a hacer un nuevo servidor, y cuando compilo me salen errores en la creaciуn de la tabla, podrнa darme una mano? Aquн les dejo el cуdigo y los errores, desde ya muchas gracias.

PHP код:
db_free_result(db_query(jugadores"CREATE TABLE IF NOT EXISTS `datos` \ 
                                                                            (`ID` INTEGER PRIMARY KEY AUTOINCREMENT, \
                                                                            `Nombre` VARCHAR(24) NOT NULL, \
                                                                            `Password` VARCHAR(24) NOT NULL, \
                                                                            `Baneado` INTEGER NOT NULL, \
                                                                            `Admin` INTEGER NOT NULL, \
                                                                            `Nivel` INTEGER NOT NULL, \
                                                                            `Experiencia` INTEGER NOT NULL, \
                                                                            `Monedas de oro` INTEGER NOT NULL, \
                                                                            `Dinero` INTEGER NOT NULL, \
                                                                            `Cuenta bancaria` INTEGER NOT NULL, \
                                                                            `Trabajo` INTEGER NOT NULL, \
                                                                            `Faccion` INTEGER NOT NULL, \
                                                                            `Rango faccion` INTEGER NOT NULL, \
                                                                            `Policia` INTEGER NOT NULL, \
                                                                            `Rango policia` INTEGER NOT NULL, \
                                                                            `Pos X` FLOAT NOT NULL, \
                                                                            `Pos Y` FLOAT NOT NULL, \
                                                                            `Pos Z` FLOAT NOT NULL, \
                                                                            `Pos R` FLOAT NOT NULL, \
                                                                            `Skin` INTEGER NOT NULL, \
                                                                            `Vida` FLOAT NOT NULL, \
                                                                            `Chaleco` FLOAT NOT NULL, \
                                                                            `Virtual World` INTEGER NOT NULL, \
                                                                            `Interior` INTEGER NOT NULL, \
                                                                            `Medicamentos` INTEGER NOT NULL, \
                                                                            `Crack` INTEGER NOT NULL, \
                                                                            `Materiales` INTEGER NOT NULL, \
                                                                            `Sancion` INTEGER NOT NULL, \
                                                                            `Tiempo sancion` INTEGER NOT NULL, \
                                                                            `Sanciones` INTEGER NOT NULL, \
                                                                            `Carcel` INTEGER NOT NULL, \
                                                                            `Tiempo carcel` INTEGER NOT NULL, \
                                                                            `Arrestos` INTEGER NOT NULL)"
)); 
Los errores:
Quote:

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

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.

Reply


Messages In This Thread
Create table if not exists - by Ghost112397 - 01.09.2015, 02:03
Re: Create table if not exists - by SickAttack - 01.09.2015, 03:59
Respuesta: Re: Create table if not exists - by Ghost112397 - 01.09.2015, 04:18
Re: Create table if not exists - by SickAttack - 01.09.2015, 04:33
Respuesta: Re: Create table if not exists - by Ghost112397 - 01.09.2015, 04:42
Respuesta: Create table if not exists - by bm0z - 01.09.2015, 10:37
Respuesta: Create table if not exists - by [DOG]irinel1996 - 01.09.2015, 11:05
Respuesta: Create table if not exists - by DesingMyCry - 01.09.2015, 15:01
Respuesta: Create table if not exists - by Parka - 01.09.2015, 18:06
Re: Create table if not exists - by SickAttack - 01.09.2015, 21:03

Forum Jump:


Users browsing this thread: 1 Guest(s)