How to fix this warning
#4

Actually, #pragma tabsize 0 can cause some problems, just indent the code. Examples:

Wrong indentation:
pawn Код:
CMD:abcd( playerid, params[ ] )
{
      ab = GetPlayerColor( playerid );
   SendClientMessage( playerid, ab, "This is your color" );
      SendClientMessage( playerid, ab, "Abcdefgh" );
return 1;
}
Good indentation:
pawn Код:
CMD:abcd( playerid, params[ ] )
{
    ab = GetPlayerColor( playerid );
    SendClientMessage( playerid, ab, "This is your color" );
    SendClientMessage( playerid, ab, "Abcdefgh" );
    return 1;
}
So practically, your spacing must be 4 spaces! Not something else!
Reply


Messages In This Thread
How to fix this warning - by [nL]W0rfleR - 12.02.2011, 01:04
Re: How to fix this warning - by Backwardsman97 - 12.02.2011, 01:09
Re: How to fix this warning - by Zack9764 - 12.02.2011, 01:33
Re: How to fix this warning - by Mean - 12.02.2011, 10:34

Forum Jump:


Users browsing this thread: 2 Guest(s)