11.12.2012, 19:42
(
Последний раз редактировалось andrew2695; 11.12.2012 в 21:35.
Причина: new thread
)
Thx guys.
new Query[1000];
strcat(Query,
"CREATE TABLE IF NOT EXISTS `Accounts` ( \
`ID` int(11) NOT NULL AUTO_INCREMENT, \
`Name` varchar(24) NOT NULL, \
`Password` varchar(129) NOT NULL, \
`RegDate` int(11) NOT NULL, \
`RegisteredIP` varchar(16) NOT NULL, \
`LastLogin` int(11) NOT NULL, \
`LastKnownIP` varchar(16) NOT NULL, \
`Admin` int(11) NOT NULL, \
`Skin` int(11) NOT NULL, \
`Team` int(11) NOT NULL, \
`InBank` int(11) NOT NULL, \
`InHand` int(11) NOT NULL,");
strcat(Query, "`Score` int(11) NOT NULL, \
`Kills` int(11) NOT NULL, \
`Deaths` int(11) NOT NULL, \
`Regular` int(11) NOT NULL, \
`Donator` int(11) NOT NULL, \
`CitySpawn` int(11) NOT NULL, \
`SpeedUnit` int(11) NOT NULL, \
`Plate` varchar(24) NOT NULL, \
`Color1` int(11) NOT NULL, \
`Color2` int(11) NOT NULL, \
`AutoCorrect` int(11) NOT NULL, \
`Hours` int(11) NOT NULL, \
`Minutes` int(11) NOT NULL, \
`Seconds` int(11) NOT NULL, \
PRIMARY KEY (`ID`))");
mysql_function_query(mysql,g_handle, false, "SendQuery", "");