AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   warning 217: loose indentation (https://forums.alliedmods.net/showthread.php?t=242168)

GPDexter 06-15-2014 05:08

warning 217: loose indentation
 
1 Attachment(s)
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 :(

ddhoward 06-15-2014 05:21

Re: warning 217: loose indentation
 
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.

klippy 06-15-2014 05:21

Re: warning 217: loose indentation
 
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++.

GPDexter 06-15-2014 05:22

Re: warning 217: loose indentation
 
yes i know, but without warning, It's will make it more easier to the server to read the plugin!

ddhoward 06-15-2014 05:23

Re: warning 217: loose indentation
 
Quote:

Originally Posted by GPDexter (Post 2151965)
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.

GPDexter 06-15-2014 05:25

Re: warning 217: loose indentation
 
Where is that? because i have notepad++ in french

http://image.noelshack.com/fichiers/...76-notepad.jpg

GPDexter 06-15-2014 05:26

Re: warning 217: loose indentation
 
@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 :(

ddhoward 06-15-2014 05:28

Re: warning 217: loose indentation
 
Quote:

Originally Posted by GPDexter (Post 2151969)
@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

Flick3rR 06-15-2014 05:31

Re: warning 217: loose indentation
 
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.

GPDexter 06-15-2014 05:35

Re: warning 217: loose indentation
 
But how plz can you give me better examples ! because i'm a noob :( sorry guys!


All times are GMT -4. The time now is 21:16.

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