01.08.2014, 01:12
I really need help with this. I've been searching but I haven't been getting any solution.
The only error I get when I compile.
the code is ..
The only error I get when I compile.
Quote:
|
error 025: function heading differs from prototype |
Quote:
|
public OnQueryError(errorid, error[], resultid, extraid, callback[], query[], connectionHandle) { new File:file = fopen("mysql_error_log.txt", io_append); if (file) { new string[512], day, month, year, hour, minute, second; gettime(hour, minute, second); getdate(year, month, day); format(string, sizeof(string), "[%02d/%02d/%02d %02d:%02d:%02d] Query error (errorid: %d, error: %s, callback: %s, connectionHandle: %d)\r\n", day, month, year, hour, minute, second, errorid, error, callback, connectionHandle); fwrite(file, string); fclose(file); } return 1; |


