22.05.2013, 07:23
Take:
PHP код:
#include <a_samp>
#include <YSI\y_ini>
forward YourNameLog(string[]);
public YourNameLog(string[])
{
new entry[256];
format(entry, sizeof(entry), "%s\n",string);
new File:hFile;
hFile = fopen("YourNameLog.txt", io_append);
fwrite(hFile, entry);
fclose(hFile);
}