help: error 001: expected token: "-string end-", but found "-identifier-"
#1

I have some problems with my script:

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)
Errors & warnings:

Код:
SVDIR\gamemodes\projectGM\tdb8.8v.pwn(16804) : error 001: expected token: "-string end-", but found "-identifier-"
Can you explain me what is wrong?

Thanks!

UPDATED
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)