4 warning 217
#1

Quote:

C:\Users\Berk\Desktop\FSLER\samp03z_svr_R1_win32 (1)\filterscripts\guvenlibolge.pwn(47) : warning 217: loose indentation
C:\Users\Berk\Desktop\FSLER\samp03z_svr_R1_win32 (1)\filterscripts\guvenlibolge.pwn(5 : warning 217: loose indentation
C:\Users\Berk\Desktop\FSLER\samp03z_svr_R1_win32 (1)\filterscripts\guvenlibolge.pwn(63) : warning 217: loose indentation
C:\Users\Berk\Desktop\FSLER\samp03z_svr_R1_win32 (1)\filterscripts\guvenlibolge.pwn(84) : warning 217: loose indentation
C:\Users\Berk\Desktop\FSLER\samp03z_svr_R1_win32 (1)\filterscripts\guvenlibolge.pwn(93) : warning 217: loose indentation

47 line: while(iIndex < sizeof(SafeZoneInfo) && fread(iFileHandle, szFileStr)) {

58 line: if(SafeZoneInfo[iIndex][szPosX] != 0.0)

63 line: ++iIndex;

84 line: for(new Sz; Sz < MAX_SZ; Sz++)

93 line: GetPlayerHealth(playerid,php);
Reply
#2

We need to see the entire code when it comes to loose indentation. Loose indentation is caused by bad tab space. If that's the right word.

Here is an example of good and then bad tab spacing:
pawn Код:
CMD:(playerid, params[])
{
    new check;
    if(check)
    {
        boo = 1;
    }
    else
    {
        boo = 2;
    }
    return 1;
}

CMD:boo(playerid, params[])
{
    new check
if(check)
{
    boo = 1;
    }
    else
    {
 boo = 2;
}
return 1;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)