Raised This Month: $ Target: $400
 0% 

help me fix loose indentation warnings please, i dun understand em


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Owyn
Veteran Member
Join Date: Nov 2007
Old 01-06-2009 , 19:26   help me fix loose indentation warnings please, i dun understand em
Reply With Quote #1

i'm newby at scripting but i put some more functions from other plugin to this plugin, looks like it works but i get loose indentation warning, can loose indentation warning cause more memory usage of hlds?
help me fix it please. i attached the compilation log

Code:
code removed, arkshine said my error doesn't do anything
Attached Thumbnails
Click image for larger version

Name:	errors.jpg
Views:	161
Size:	87.4 KB
ID:	35609  

Last edited by Owyn; 01-06-2009 at 19:56.
Owyn is offline
Send a message via ICQ to Owyn
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-06-2009 , 19:29   Re: help me fix loose indentation warnings please, i dun understand em
Reply With Quote #2

Quote:
Can loose indentation warning
No. You can safely ignore. If you don't know what's the indentation, see here.
Arkshine is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 01-06-2009 , 19:56   Re: help me fix loose indentation warnings please, i dun understand em
Reply With Quote #3

thx
Owyn is offline
Send a message via ICQ to Owyn
Sn!ff3r
Veteran Member
Join Date: Aug 2007
Location: Poland
Old 01-07-2009 , 15:27   Re: help me fix loose indentation warnings please, i dun understand em
Reply With Quote #4

Open plugin in AMXX Studio and press CTRL+I
__________________
Join US - custom Zombie Server - Custom Addons:



Sn!ff3r is offline
Send a message via Skype™ to Sn!ff3r
Spunky
Senior Member
Join Date: May 2008
Location: Orlando, Fl.
Old 01-07-2009 , 16:08   Re: help me fix loose indentation warnings please, i dun understand em
Reply With Quote #5

Loose indentation usually means you forgot a closing brace somewhere. That's all.
Spunky is offline
Send a message via AIM to Spunky
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-07-2009 , 18:49   Re: help me fix loose indentation warnings please, i dun understand em
Reply With Quote #6

Quote:
Originally Posted by Spunky View Post
Loose indentation usually means you forgot a closing brace somewhere. That's all.
That can't be true. This would inevitably cause relevant errors.

A brace a very important structure element.
fysiks is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 01-11-2009 , 19:04   Re: help me fix loose indentation warnings please, i dun understand em
Reply With Quote #7

Quote:
you forgot a closing brace somewhere.
no i didn't =0

btw, does tag mismatch means same thing and i should ignore tag mismatch warning? cuz after these warning nothing happens and pluhins runs fine, tell me, and no i don't see anything worng with lines compiles warns me about

Last edited by Owyn; 01-11-2009 at 19:11.
Owyn is offline
Send a message via ICQ to Owyn
Sn!ff3r
Veteran Member
Join Date: Aug 2007
Location: Poland
Old 01-12-2009 , 04:08   Re: help me fix loose indentation warnings please, i dun understand em
Reply With Quote #8

Quote:
btw, does tag mismatch means same thing and i should ignore tag mismatch warning? cuz after these warning nothing happens and pluhins runs fine, tell me, and no i don't see anything worng with lines compiles warns me about
You shouldnt ignore tag mismatch warnings.

For example, tag mismatch will be if you give integer when a function expect float ;)
__________________
Join US - custom Zombie Server - Custom Addons:



Sn!ff3r is offline
Send a message via Skype™ to Sn!ff3r
Owyn
Veteran Member
Join Date: Nov 2007
Old 01-12-2009 , 06:13   Re: help me fix loose indentation warnings please, i dun understand em
Reply With Quote #9

but i just copied function from one plugin to another and function callings string, in another plugin there was no tag mismatch but in new one there is, where did it came from? +all works fine
Owyn is offline
Send a message via ICQ to Owyn
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 09:06.


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