Raised This Month: $ Target: $400
 0% 

:?: HELP


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Blindo
New Member
Join Date: Mar 2005
Location: Stockholm, Sweden
Old 05-11-2005 , 14:33   :?: HELP
Reply With Quote #1

Hello!

When I compile my plugin, I get the message "warning 217: loose identation", does anyone know what it means?

Thanks
Blindo is offline
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 05-11-2005 , 14:51  
Reply With Quote #2

That just mean it not indented correctly, compiler doesn't like it if it not indented correctly, but the plugin will still run as it should. Just tell who wrote the plugin to fix their indent .
__________________
No private support via Instant Message
GunGame:SM Released
teame06 is offline
Send a message via AIM to teame06
pizzahut
Senior Member
Join Date: Oct 2004
Old 05-11-2005 , 15:14  
Reply With Quote #3

It should show you two numbers, the first one being the line where the error occured. E.g. the status bar of Notepad shows line numbers.

Loose indention can also happen if you forget to include curly brackets, e.g. WRONG:
Code:
if (1==1)   blabla()   anothercommand() something()
CORRECT:
Code:
if (1==1) {   blabla()   anothercommand() } something()
pizzahut is offline
Blindo
New Member
Join Date: Mar 2005
Location: Stockholm, Sweden
Old 05-12-2005 , 06:58  
Reply With Quote #4

Hello!

When I put them in this order it works

register_clcmd
register_clcmd
register_clcmd
register_clcmd
register_plugin
register_clcmd

but when I put them in any other order I get the "loose identation" warning, why?
Blindo is offline
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 16:47.


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