Raised This Month: $ Target: $400
 0% 

warning 217: loose indentation


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GPDexter
Junior Member
Join Date: Jun 2014
Old 06-15-2014 , 05:08   warning 217: loose indentation
Reply With Quote #1

Hello Guys!
I'm looking for someone who can help me to intend my code!

Because i'm a noob and i don't know how !

When i compile it i get a lot of warnings

So guys, i'm looking for a nice coder who can help me ! i beg you

Here is my plugin (Attachements)
Because it's a JailBreak Mod (But with new modifications (Like NightCrawler added to it, freezetag, snow war etc... )

Plz ! Guys i beg you to help me
Attached Files
File Type: sma Get Plugin or Get Source (prisonbreak.sma - 493 views - 112.8 KB)

Last edited by GPDexter; 06-20-2014 at 08:32.
GPDexter is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 06-15-2014 , 05:21   Re: warning 217: loose indentation
Reply With Quote #2

Warnings will not cause your plugin to not work. And Loose Indentation is the most harmless of all warnings. It's just telling you that other people who look at your code might have a hard time reading it, because your tabs are inconsistent in some places. That's it. It doesn't affect the compiled plugin at all.
__________________

Last edited by ddhoward; 06-15-2014 at 05:22.
ddhoward is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 06-15-2014 , 05:21   Re: warning 217: loose indentation
Reply With Quote #3

It is easy to indent code with Notepad++. Download the program(it is free software), open it and paste the source code in, then go to TextFX > TextFX Edit > Reindent C++ code. Don't worry because it says "C++ code", PAWN indents same way as C++.
klippy is offline
GPDexter
Junior Member
Join Date: Jun 2014
Old 06-15-2014 , 05:22   Re: warning 217: loose indentation
Reply With Quote #4

yes i know, but without warning, It's will make it more easier to the server to read the plugin!
GPDexter is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 06-15-2014 , 05:23   Re: warning 217: loose indentation
Reply With Quote #5

Quote:
Originally Posted by GPDexter View Post
yes i know, but without warning, It's will make it more easier to the server to read the plugin!
That is completely incorrect. The server doesn't look at the source code, only the compiled plugin. And loose indentation doesn't affect the compiled plugin AT ALL.
__________________
ddhoward is offline
GPDexter
Junior Member
Join Date: Jun 2014
Old 06-15-2014 , 05:25   Re: warning 217: loose indentation
Reply With Quote #6

Where is that? because i have notepad++ in french

GPDexter is offline
GPDexter
Junior Member
Join Date: Jun 2014
Old 06-15-2014 , 05:26   Re: warning 217: loose indentation
Reply With Quote #7

@ddhoward
I'm trying to intend the plugin, because i want to share it here in alliedmods, it's getting rejected everytime because it's not intended ! that's why

Please help me to intend it! just tell me how
GPDexter is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 06-15-2014 , 05:28   Re: warning 217: loose indentation
Reply With Quote #8

Quote:
Originally Posted by GPDexter View Post
@ddhoward
I'm trying to intend the plugin, because i want to share it here in alliedmods, it's getting rejected everytime because it's not intended ! that's why

Please help me to intend it! just tell me how
http://en.wikipedia.org/wiki/Indent_style
__________________
ddhoward is offline
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 06-15-2014 , 05:31   Re: warning 217: loose indentation
Reply With Quote #9

You wrote the whole plugin but donīt know how to indent it? I think the most clear explanation was given and you should juat fix the tabs mostly after the brackets.
__________________
Flick3rR is offline
Send a message via Skype™ to Flick3rR
GPDexter
Junior Member
Join Date: Jun 2014
Old 06-15-2014 , 05:35   Re: warning 217: loose indentation
Reply With Quote #10

But how plz can you give me better examples ! because i'm a noob sorry guys!
GPDexter is offline
Reply


Thread Tools
Display Modes

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 21:16.


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