21.02.2014, 21:53
Код:
if(mysql_ping(MainPipeline) == -1) { printf("[MySQL] (MainPipeline) Fatal Error! Could not connect to MySQL: Host %s - DB: %s - User: %s", SQL_HOST, SQL_DB, SQL_USER); print("[MySQL] Note: Make sure that you have provided the correct connection credentials."); SendRconCommand("exit"); }