24.04.2011, 15:24
Hi,
Why isn't this working?
I turn my WAMP MySQL off to test it, but the text won't be printed and the server doesn't close.
Why isn't this working?
I turn my WAMP MySQL off to test it, but the text won't be printed and the server doesn't close.
Код:
stock MySQLConnect()
{
mysql_debug(1);
if(!mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS))
{
print("Server failed to connect to MySQL!");
SendRconCommand("exit");
}
return 0;
}

