Cant fix this loose indentation -.-
#2

Код:
stock CountLockers() {
    new Lcount;
    for(new x=1; x < MAX_LOCKERS_POINT;x++) {
		new path[100];
		for(new lockerid = 1; lockerid < MAX_LOCKERS_POINT; lockerid++) {
			format(path,sizeof(path),"/Factions/Locker%d.ini", lockerid);
			if(fexist(path)) {
				LockersPointCreated[lockerid] = 1;
				return 1;
			} else {
				LockersPointCreated[lockerid] = 0;
				return 1;
			}
		}
	}
	return Lcount;
}
this is how it should look like
also, if you are bad with indentation, use #pragma tabsize 0, even if it's not recommended
Reply


Messages In This Thread
Cant fix this loose indentation -.- - by RLGaming - 17.09.2012, 16:04
Re: Cant fix this loose indentation -.- - by Seven_of_Nine - 17.09.2012, 16:08
Re: Cant fix this loose indentation -.- - by vIBIENNYx - 17.09.2012, 16:11
Re: Cant fix this loose indentation -.- - by RLGaming - 17.09.2012, 16:16
Re: Cant fix this loose indentation -.- - by Kaperstone - 17.09.2012, 17:24
Re: Cant fix this loose indentation -.- - by Riddy - 17.09.2012, 17:24
Re: Cant fix this loose indentation -.- - by Kaperstone - 17.09.2012, 17:32
Re: Cant fix this loose indentation -.- - by Riddy - 17.09.2012, 17:37
Re: Cant fix this loose indentation -.- - by AtItsMax - 17.09.2012, 17:48
Re: Cant fix this loose indentation -.- - by Glint - 17.09.2012, 18:36

Forum Jump:


Users browsing this thread: 2 Guest(s)