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

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);
try it dude

you miss ; at
pawn Код:
fclose(FileLog)
so add

pawn Код:
fclose(FileLog);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)