28.08.2011, 22:33
Quote:
I was about to help you, but you decide to double post after 5 minutes? Learn to be patient, we aren't slaves to help you at request.
|
DO you even know pawn code?
pawn Код:
CMD:c(file[], input[])
{
File:filevar;
if(!fexist(file)) filevar = fopen(file, io_write);
else filevar = fopen(file, io_append);
if(!fexist(file))
{
printf("Failed to load '%s'", file);
return 0;
}
else
{
new str[512];
format(str, sizeof(str), "%s\r\n", input);
fwrite(filevar, input);
fclos(filevar);
return 1;
}
}
If this doesnt work wait for somone to edit it or i can make it for you in Y_INI