13.10.2011, 16:05
pawn Код:
public SavePlate(v, inputtext[])
{
new entry[256];
format(entry, sizeof(entry), "CarPlate/carplate%d.cfg",v);
new File:test;
if(!fexist(entry)) test = fopen(entry, io_readwrite), fclose(test);
new File:hFile;
hFile = fopen(entry, io_write);
fwrite(hFile, inputtext);
fclose(hFile);
}