AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   :?: HELP (https://forums.alliedmods.net/showthread.php?t=13300)

Blindo 05-11-2005 14:33

:?: HELP
 
Hello!

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

Thanks :)

teame06 05-11-2005 14:51

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 .

pizzahut 05-11-2005 15:14

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()

Blindo 05-12-2005 06:58

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?


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

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