AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   help me fix loose indentation warnings please, i dun understand em (https://forums.alliedmods.net/showthread.php?t=83270)

Owyn 01-06-2009 19:26

help me fix loose indentation warnings please, i dun understand em
 
1 Attachment(s)
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

Arkshine 01-06-2009 19:29

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

Can loose indentation warning
No. You can safely ignore. If you don't know what's the indentation, see here.

Owyn 01-06-2009 19:56

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

Sn!ff3r 01-07-2009 15:27

Re: help me fix loose indentation warnings please, i dun understand em
 
Open plugin in AMXX Studio and press CTRL+I :)

Spunky 01-07-2009 16:08

Re: help me fix loose indentation warnings please, i dun understand em
 
Loose indentation usually means you forgot a closing brace somewhere. That's all.

fysiks 01-07-2009 18:49

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

Originally Posted by Spunky (Post 740033)
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.

Owyn 01-11-2009 19:04

Re: help me fix loose indentation warnings please, i dun understand em
 
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

Sn!ff3r 01-12-2009 04:08

Re: help me fix loose indentation warnings please, i dun understand em
 
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 ;)

Owyn 01-12-2009 06:13

Re: help me fix loose indentation warnings please, i dun understand em
 
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


All times are GMT -4. The time now is 09:06.

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