27.04.2013, 10:54
Sorry for double post but i don't know why i cant see the edit quote etc etc tabs......
i revised my code i think this is right but there is something that makes the database error
PHP Code:
strcat(str, "(`Name` VARCHAR,`Password` VARCHAR, `Admin` INTEGER, `Vip` INTEGER, `Age` INTEGER, `Money` INTEGER, `Level` INTEGER, `Gender` INTEGER, `Accent` INTEGER, `Skin` INTEGER, `CarLic` INTEGER, `BoatLic` INTEGER, `FlyLic` INTEGER, `PosX` FLOAT, `PosY` FLOAT,");
strcat(str, "`PosZ` FLOAT, `PosAngle` FLOAT, `Payday` INTEGER, `HadPayDay` INTEGER, `Family` INTEGER, `Faction` INTEGER, `Tutorial` INTEGER, `FactionRank` INTEGER, `Injured` INTEGER, `Health` FLOAT, `Armour` FLOAT, `VWorld` INTEGER, `Interior` INTEGER, `Job` INTEGER, `BankBalance` INTEGER, `Weapon1` INTEGER,");
strcat(str, "`Weapon1Ammo` INTEGER, `Weapon2` INTEGER, Weapon2Ammo` INTEGER, `Weapon3` INTEGER, `Weapon3Ammo` INTEGER, `Weapon4` INTEGER, `Weapon4Ammo` INTEGER, `Weapon5` INTEGER, `Weapon5Ammo` INTEGER, `Weapon6` INTEGER, `Weapon6Ammo` INTEGER, `Weapon7` INTEGER, `Weapon7Ammo` INTEGER, `Weapon8` INTEGER, `Weapon8Ammo` INTEGER, `Weapon9` INTEGER,");
strcat(str, "`Weapon9Ammo` INTEGER, `Weapon10` INTEGER, `Weapon10Ammo` INTEGER, `Weapon11` INTEGER, `Weapon11Ammo` INTEGER, `Weapon12` INTEGER, `Weapon12Ammo` INTEGER, `Weapon13` INTEGER, `Weapon13Ammo` INTEGER, `PRadio` INTEGER, `PRadioFreq` INTEGER, `CigarSticks` INTEGER, `WineBottles` INTEGER)");