Loose Indentation
Why do i get the error: Loose Indentation on line 2859 and 2864
PHP Code:
|
Re: Loose Indentation
Which lines are 2859 and 2864??
|
Re: Loose Indentation
PHP Code:
And 2864 PHP Code:
PHP Code:
|
Re: Loose Indentation
Code:
public respawn_sapitem(id) |
Re: Loose Indentation
Ty Man! It worked! What did u change?
|
Re: Loose Indentation
The if's were indented with spaces, so i indented them with tab. I did that for give_item also. Also, loose indentations are just warnings, usually not gonna mess up the plugin or anything, it'll still work. But just makes it more neat :D
|
Re: Loose Indentation
Aha ok man ty :)
|
Re: Loose Indentation
@Ludariss, if you just copy the code that you posted here and replace the original with it then I bet it will work.
Quote:
The OP's indentation is perfect but what is causing the warning is likely the combination of spaces and tabs. |
Re: Loose Indentation
It's not my whole code it's made by Vechta.
|
Re: Loose Indentation
if(blabla)
{ // here press Tab } My Eyes get sick when i see this kind of horrible codeindentation |
| All times are GMT -4. The time now is 00:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.