No guarda nada
#1

Soy totalmente Nuevo en SQLite y hago lo que puedo, si me dan una mano se los agradecerнa !
Код:
new string[1820];
	strcat(string, "CREATE TABLE IF NOT EXISTS `user` (");
	strcat(string, "`ID` int(11) NOT NULL AUTO_INCREMENT,");
	strcat(string, "`pName` varchar(34) NOT NULL,");
	strcat(string, "`pPass` int(11) NOT NULL,");
	strcat(string, "`pLevel` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pPremium` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pMoney` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pKills` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pDeath` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pHours` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pMinutes` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pSeconds` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pPosX` float NOT NULL DEFAULT '0',");
	strcat(string, "`pPosY` float NOT NULL DEFAULT '0',");
	strcat(string, "`pPosZ` float NOT NULL DEFAULT '0',");
	strcat(string, "`pInterior1` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pWeap1` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pWeap2` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pWeap3` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pWeap4` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pWeap5` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pWeap6` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pWeap1Ammo` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pWeap2Ammo` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pWeap3Ammo` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pWeap4Ammo` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pWeap5Ammo` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pWeap6Ammo` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pHealth` float NOT NULL DEFAULT '100',");
	strcat(string, "`pArmour` float NOT NULL DEFAULT '0',");
	strcat(string, "`pLastOn` varchar(11) NOT NULL DEFAULT '00.00.0000',");
	strcat(string, "`pLoggedIn` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pRconAprovado` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pPreDia` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pPreMes` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pPreAno` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pIP` varchar(20) NOT NULL DEFAULT '0',");
	strcat(string, "`pRegistered` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "`pRegisteredDate` varchar(11) NOT NULL DEFAULT '00/00/0000',");
	strcat(string, "`pBanned` int(11) NOT NULL DEFAULT '0',");
	strcat(string, "PRIMARY KEY (`ID`))");
	db_free_result(db_query(LadminDB,string));
Mi problema es que no guarda absolutamente NADA y no tengo ni la mas palida idea de porque!
los puse en strcat porque ya saben es muy largo y pawn empieza a tirar errores etc xd
Reply


Messages In This Thread
No guarda nada - by ForTrezZ - 04.01.2016, 06:35
Respuesta: No guarda nada - by Parka - 04.01.2016, 07:47
Respuesta: No guarda nada - by ForTrezZ - 04.01.2016, 17:35
Respuesta: No guarda nada - by bm0z - 05.01.2016, 01:10

Forum Jump:


Users browsing this thread: 1 Guest(s)