17.05.2016, 15:41
Код:
[18:38:31] [debug] Run time error 19: "File or function is not found" [18:38:31] [debug] mysql_log [18:38:31] [debug] mysql_connect [18:38:31] [debug] mysql_errno [18:38:31] [debug] mysql_format [18:38:31] [debug] mysql_tquery [18:38:31] [debug] mysql_close [18:38:31] [debug] cache_get_data [18:38:31] [debug] cache_get_row_int [18:38:31] [debug] cache_get_row [18:38:31] [debug] cache_insert_id [18:38:31] [debug] Run time error 19: "File or function is not found" [18:38:31] [debug] mysql_log [18:38:31] [debug] mysql_connect [18:38:31] [debug] mysql_errno [18:38:31] [debug] mysql_format [18:38:31] [debug] mysql_tquery [18:38:31] [debug] mysql_close [18:38:31] [debug] cache_get_data [18:38:31] [debug] cache_get_row_int [18:38:31] [debug] cache_get_row [18:38:31] [debug] cache_insert_id [18:38:31] Script[gamemodes/TGD(MySQL).amx]: Run time error 19: "File or function is not found"
Код:
mysql_log(LOG_NONE); gInfo[gHandle] = mysql_connect(MySQL_HOST, MySQL_USER, MySQL_DB, MySQL_PASS); if(mysql_errno(gInfo[gHandle]) != 0) { print("[MySQL MSG]: MySQL Failed Connected."); SendRconCommand("gmx"); } else { print("[MySQL MSG]: MySQL Connected."); }