Aliassassin123456 - This should work, but I suggest you stop coding in
PAWN to create table, it's just waste of time, I suggest you create the table in
phpMyAdmin
pawn Код:
define TABLE_NAME "Your_Table_Here"
public OnGameModeInit()
{
new ali[ 255 char ], handle;
format(ali, sizeof(ali), "CREATE TABLE IF NOT EXISTS `%s` \
(`tPX` float(20) NOT NULL,\
`tPY` float(20) NOT NULL,\
`tText` varchar(500) NOT NULL,\
`tLSX` float(20) NOT NULL,\
`tLSY` float(20) NOT NULL,\
`tTSX` float(20) NOT NULL,\
`tTSY` float(20) NOT NULL,\
`tAlign` int(20) NOT NULL,\
`tColor` int(25) NOT NULL,\
`tUB` int(10) NOT NULL,\
`tBC` int(25) NOT NULL,\
`tShadow` int(20) NOT NULL,\
`tOL` int(25) NOT NULL,\
`tBGC` int(25) NOT NULL,\
`tFont` int(10) NOT NULL,");
format(ali, sizeof(ali), "`tProportional` int(20) NOT NULL,\
`tSelectable` int(10) NOT NULL,\
`tPM` int(20) NOT NULL,\
`tPRX` float(20) NOT NULL,\
`tPRY` float(20) NOT NULL,\
`tPRZ` float(20) NOT NULL,\
`tPRZoom` float(20) NOT NULL,\
`tPVC1` int(10) NOT NULL,\
`tPVC2` int(10) NOT NULL,\
`Tyype` int(5) NOT NULL)\
ENGINE=MyISAM;", TABLE_NAME);
mysql_tquery(handle, ali, "SendQuery", "");
}