15.01.2012, 14:09
Код:
new ClanString[ 3000 ]; strcat( ClanString, "CREATE TABLE IF NOT EXISTS `gangs`", 3000); strcat( ClanString, "(`id` INT PRIMARY KEY,\ `name` TEXT, \ `owner` TEXT, \ `members` NUMERIC, \ `SpawnX` FLOAT, \ `SpawnY` FlOAT, \ `SpawnZ` FLOAT, \ `SpawnA` FLOAT, \ `Skin` NUMERIC, \ `BossSkin` NUMERIC, \ `Weap1` NUMERIC, \ `Weap2` NUMERIC, \ `Weap3` NUMERIC,", 3000); strcat( ClanString, "`Weap4 NUMERIC, \ `Weap5` NUMERIC, \ `Weap6` NUMERIC, \ `Kills` NUMERIC, \ `Deaths` NUMERIC, \ `Color` NUMERIC);", 3000); db:Query( gDB, ClanString );