05.01.2014, 20:23
Hey,
I've other table rather than this but it works correctly because it's not that long,
though I split my long input, it's not created.
Here's the query:
Thanks for any help!
I've other table rather than this but it works correctly because it's not that long,
though I split my long input, it's not created.
Here's the query:
pawn Код:
new query[500];
format(query, sizeof(query), "CREATE TABLE IF NOT EXISTS playerdata(user VARCHAR(24) NOT NULL auto_increment PRIMARY KEY, password VARCHAR(40) NOT NULL,");
strcat(query, "IP VARCHAR(16) NOT NULL, money INT(20) NOT NULL default '0' , skin INT(10) NOT NULL default '0', scores INT(30) NOT NULL default '0', adminlevel INT(10) NOT NULL default '0', helperlevel INT(10) NOT NULL default '0',");
strcat(query, "kills INT(20) NOT NULL default '0', deaths INT(20) NOT NULL default '0', floatx INT(20) NOT NULL default '0', floaty INT(20) NOT NULL default '0', floatz INT(20) NOT NULL default '0', floatr INT(20) NOT NULL default '0' )");
mysql_query(query);