24.04.2011, 15:37
Thanks for answering!
Like this?
It doesn't work
Like this?
Код:
stock MySQLConnect() { mysql_debug(1); if(!mysql_connect(SQL_HOST, SQL_USER, SQL_DB, SQL_PASS)) { if(mysql_ping()==-1) { print("Server failed to connect to MySQL!"); SendRconCommand("exit"); } } return 0; }