Loose Indentation
#1

I know these warnings are extremely easy to fix, but it's really not working for me -_-
This is the compiler output:
Код:
C:\Users\USER\Desktop\RC-RP\gamemodes\RC-RP.pwn(37673) : warning 217: loose indentation
C:\Users\USER\Desktop\RC-RP\gamemodes\RC-RP.pwn(37682) : warning 217: loose indentation
C:\Users\USER\Desktop\RC-RP\gamemodes\RC-RP.pwn(37685) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Warnings.
These are the lines:
37670 - 37690
Код:
						SendClientMessage(i, COLOR_VIP, string);
				}
				}
				if(!PlayerInfo[i][pLoyal])
	    		{
	    		    	PlayerInfo[i][pLPoints] ++;
       			}
    		}
    		else
			{
   				SendClientMessage(i, COLOR_LIGHTRED, " You haven't played long enough to recieve a paycheck.");
			}
			PayChecks = 1;
			SetTimer("PayCheckDone", 5000, false);
			}
		return 1;
}

stock stringContainsIP(const szStr[])
{
    new
Reply
#2

<removed - dangerous gibberish>
Reply
#3

Quote:
Originally Posted by PMH
Посмотреть сообщение
<removed - dangerous gibberish>
this won't work for sure
Reply
#4

Quote:
Originally Posted by ******
Посмотреть сообщение
Indentation:

https://en.wikipedia.org/wiki/Indent_style

I removed all trace of PMH's post - it was not just wrong, but actually contained banned information. Read that link and the tutorials on indentation to do it correctly, DO NOT use any methods that may SEEM to make it simpler - they are dangerously wrong.
didn't knew it's banned :O
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)