[Solved]Y_ini issue
#4

First of all, I just want to point out that one of your braces is facing the wrong way. (Opening brace instead of a closing brace)

pawn Код:
if(dialogid == 1)
    {
        if(response)
        {
            if(strlen(inputtext) > 0)
            {
                new File[100];
                format(File, sizeof(File), PATH, inputtext);
                if(!fexist(File))
                {
                    new INI:ACCOUNT = INI_Open(File);
                    INI_WriteInt(ACCOUNT, "Test", 1);
                    INI_Close(ACCOUNT);
                }
            }
        }
        return 1;
    }
This should be working...

EDIT: Somehow, two slippery buggers managed to post before I finished writing this up.
Reply


Messages In This Thread
Y_ini issue - by xVIP3Rx - 24.10.2013, 13:09
Re: Y_ini issue - by Chrillzen - 24.10.2013, 13:11
Re: Y_ini issue - by RowdyrideR - 24.10.2013, 13:12
Re: Y_ini issue - by Threshold - 24.10.2013, 13:13
Re: Y_ini issue - by xVIP3Rx - 24.10.2013, 13:14
Y_ini issue - by xVIP3Rx - 24.10.2013, 16:40

Forum Jump:


Users browsing this thread: 1 Guest(s)