Y_INI Filterscript help.
#3

Quote:
Originally Posted by Reklez
Посмотреть сообщение
i see why.

pawn Код:
INI_WriteString(File, string, inputtext);
STRING = RESULT.

You could just do this:

pawn Код:
new File:Creator = fopen("Commands/Commands.txt", io_append);
format(string, sizeof(string), "CMD:%s(playerid, params[])\r\n", inputtext);
fwrite(Creator, string);
fclose(Creator);
Ahh. Thanks. Ive ALWAYS had a problem with file saving. So im forcing myself to learn it better.
Reply


Messages In This Thread
Y_INI Filterscript help. - by Joshb93 - 01.04.2012, 04:48
Re: Y_INI Filterscript help. - by Reklez - 01.04.2012, 04:53
Re: Y_INI Filterscript help. - by Joshb93 - 01.04.2012, 04:55
Re: Y_INI Filterscript help. - by Joshb93 - 01.04.2012, 05:01
Re: Y_INI Filterscript help. - by Reklez - 01.04.2012, 05:04
Re: Y_INI Filterscript help. - by Joshb93 - 01.04.2012, 05:08

Forum Jump:


Users browsing this thread: 3 Guest(s)