Help: warning 217: loose indentation
#3

The mysql_function_query line needs to be reindented and the bracket below it needs to be aligned with the above one, Here try this

pawn Код:
if(dialogid == NULLEMAIL)
    {
        if(response)
        {
            new query[356], email[256];
            mysql_real_escape_string(inputtext, email);
            if(isnull(email))
            {
                ShowPlayerDialog(playerid, NULLEMAIL, DIALOG_STYLE_INPUT, "{3399FF}Dang ki Email", "{FFFFFF}Xin vui long vao thu dien tu de kiem tra lien ket tai khoan cua ban", "Xac nhan", "Thoat");
     //    case 2: ShowPlayerDialog(playerid, NULLEMAIL, DIALOG_STYLE_INPUT, "{3399FF}Dang ki Email", "{FFFFFF}Xin vui long vao thu dien tu de kiem tra lien ket tai khoan cua ban", "Xac nhan", "Thoat");
                return 1;
            }
                format(query, sizeof(query), "UPDATE `accounts` SET `Email`='%s' WHERE `id`=%d", email, GetPlayerSQLId(playerid));
                mysql_function_query(MainPipeline, query, false, "OnQueryFinish", "i", SENDDATA_THREAD);
            }
        }
    }
Reply


Messages In This Thread
Help: warning 217: loose indentation - by vothanhdat - 02.11.2014, 03:36
Re: Help: warning 217: loose indentation - by Blade_Cervetti - 02.11.2014, 03:42
Re: Help: warning 217: loose indentation - by Blade_Cervetti - 02.11.2014, 03:45
Re: Help: warning 217: loose indentation - by vothanhdat - 02.11.2014, 03:50
Re: Help: warning 217: loose indentation - by Blade_Cervetti - 02.11.2014, 21:44

Forum Jump:


Users browsing this thread: 1 Guest(s)