Raised This Month: $ Target: $400
 0% 

loose indentation


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 12-22-2006 , 17:44   Re: loose indentation
Reply With Quote #1

[img]http://img321.**************/img321/5862/indenttoolvn9.jpg[/img]

and as i previously stated, your return line should have as many spaces/tabs as the line before it:
Code:
public leet_control_laptop(id,key)
{	
	switch(key)
	{
		case 0:
		{
			pdbackdoorA(id)
			leet_control_laptop_show(id)
		}
		case 1:
		{
			pdjaildoorA(id)
			leet_control_laptop_show(id)
		}
		case 2:
		{
			jaildoor1A(id)
			leet_control_laptop_show(id)
		}
		case 3:
		{
			jaildoor2A(id)
			leet_control_laptop_show(id)
		}
		case 4:
		{
			jaildoor3A(id)
			leet_control_laptop_show(id)
		}
	}
	return PLUGIN_HANDLED
}
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
geertjan88
Member
Join Date: May 2006
Old 12-22-2006 , 17:58   Re: loose indentation
Reply With Quote #2

sorry i am not english i don't understand "and as i previously stated, your return line should have as many spaces/tabs as the line before it"
__________________
if i help? +karma!
geertjan88 is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 12-22-2006 , 18:58   Re: loose indentation
Reply With Quote #3

This character: {

and

This character: }

should be the same amount of spaces from the left side of the page.


IN DUTCH:

Dit teken: {

En

Dit teken: }

Zou de zelfde hoeveelheid van ruimtes van de linkerzijde van de pagina moeten zijn.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode