SA-MP Forums Archive
warning 217: loose indentation - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: warning 217: loose indentation (/showthread.php?tid=450095)



warning 217: loose indentation - WuPoR - 11.07.2013

Hi,

warning:

pawn Код:
warning 217: loose indentation
Line:
pawn Код:
Tikrai norite бsigyti pasа?","Taip","Ne");
Code:
pawn Код:
if(pickupid == pasasp)
    {
        if(pDB[playerid][pasas])
        {
            SendClientMessage(playerid, WHITE, "[ > ]{FF7E7E} Jыs jau turite pasа!");
            return true;
        }
            ShowPlayerDialog(playerid, 704, DIALOG_STYLE_MSGBOX,"Paso бsigyjimas","{FFFFFF}Paso бsigijimo kaina {FF0000}200{FFFFFF}LT\n\
            Be paso negalлsite бsidarbinti б darbа su pakvietimu.\n\
            Tikrai norite бsigyti pasа?"
,"Taip","Ne");
            return true;
        }
please help !


Re: warning 217: loose indentation - CoaPsyFactor - 11.07.2013

This is not big issue, only tab space makes your code unreadable...


Re: warning 217: loose indentation - Nirzor - 11.07.2013

Make the position of the columns perfectly then the loosing indense will be gone.


Re: warning 217: loose indentation - horsemeat - 11.07.2013

just move the bracket to the proper position to line up with the code
for example
pawn Код:
if(pickupid == pasasp)    
     {
should be
pawn Код:
if(pickupid == pasasp)    
{
but this is not a big worrie