26.03.2011, 23:29
Hi.
I need to make log writing function.
I made this:
But i have this error:
On line:
Can someone help?
I need to make log writing function.
I made this:
Код:
stock WriteToLog(log[], const input[], {Float,_}:...) { new string[128]; new File:Plik = fopen(log, io_append); format(string, sizeof(string), input, ...); fwrite(Plik, string); fclose(Plik); }
Quote:
error 029: invalid expression, assumed zero |
Quote:
format(string, sizeof(string), input, ...); |