26.07.2012, 16:14
Hello,
Why this code is not creating tables?
Looks fine, whats wrong?
Why this code is not creating tables?
pawn Код:
OnGamemode...
{
mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS);
mysql_query("CREATE TABLE IF NOT EXIST 'playerdata' ('User' VARCHAR(24), 'Password' VARCHAR(40), 'Cash' INT(20), 'Level' INT(20), 'EXP' INT(20), 'Rank' INT(20), 'TurfsCaptured' INT(20), 'TurfsLost' INT(20), 'Kills' INT(20), 'Deaths' INT(20), 'Score' INT(20), 'Muted' INT(20), 'Warnings' INT(20), 'Vip' INT(20), 'Classes' INT(20),'IP' VARCHAR(16) )");
mysql_debug(1);
return 1;
}