29.10.2011, 08:19
O meu й mais simples, rs.
Bom trabalho mesmo assim x)
pawn Код:
stock LogSystem(LogName[],Text[])
{
new entry[128],other[128];
format(entry,sizeof(entry), "%s\r\n",Text);
format(other,sizeof(other), Logs,LogName);
new File:hFile;
hFile = fopen(other,io_append);
fwrite(hFile, entry);
fclose(hFile);
}