[Solved]Y_ini issue
#1

Okay I'm trying to create a file and store data on it, the file is created but there is no data, here's the code..
pawn Код:
#define PATH    "Somewhere/%s.ini"
    if(dialogid == 1)
    {
        if(response)
        {
            if(strlen(inputtext))
            {
                new File[100];
                format(File, sizeof(File), PATH, inputtext);
                if(!fexist(File))
                {
                    new INI:ACCOUNT = INI_Open(File);
                    INI_WriteInt(ACCOUNT, "Test", 1);
                {
            }
        }
        return 1;
    }
The file is created, But there is nothing inside it, So what's the problem ?
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)