15.05.2013, 15:02
(
Последний раз редактировалось LoLeRo; 15.05.2013 в 17:15.
)
I have some problems with my script:
Errors & warnings:
Can you explain me what is wrong?
Thanks!
UPDATED
pawn Код:
new Log[400];
new Path[70];
new File:FileLog; //error line
new Year,Month,Day;
getdate(Year,Month,Day);
format(Path, 70, "ladmin/logs/%s.txt", filename);
format(Log,500,"[%d.%d.%d] %s\r\n",Day,Month,Year, text);
FileLog = fopen(Path,io_append);
fwrite(FileLog,Log);
fclose(FileLog)
Код:
SVDIR\gamemodes\projectGM\tdb8.8v.pwn(16804) : error 001: expected token: "-string end-", but found "-identifier-"
Thanks!
UPDATED