27.02.2016, 09:15
Or just clear the log at "OnGameModeInit" by using the io_write method
https://sampwiki.blast.hk/wiki/Fopen
https://sampwiki.blast.hk/wiki/Fopen
Код:
public OnGameModeInit() { new File:log = fopen("YourlogFile.txt", io_write); fwrite(log, "---- Log File Cleared ----"); //you can leave this out if you want fclose(log); //rest of your cdode return 1; }