AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Compile 1 error[SOLVED] (https://forums.alliedmods.net/showthread.php?t=106461)

edga85 10-15-2009 12:32

Compile 1 error[SOLVED]
 
1 Attachment(s)
Can somebody help?
Quote:

C:\HLServer\cstrike\addons\amxmodx\scripting\ zombie_plaguue40.sma(4435) : warning 217: loose indentation

Exolent[jNr] 10-15-2009 12:54

Re: Compile 1 error
 
That warning won't affect the plugin from compiling or running on the server.

edga85 10-15-2009 12:56

Re: Compile 1 error
 
Quote:

Originally Posted by Exolent[jNr] (Post 962854)
That warning won't affect the plugin from compiling or running on the server.

But still maybe can to fix?

Exolent[jNr] 10-15-2009 13:04

Re: Compile 1 error
 
Code:
                                                // Not Avaible                                                 zp_colored_print(id, "^x04[ZP]^x01 %L", id, "CMD_NOT_ACCESS")                 show_menu_admin(id)
You really don't know what you got a "loose indentation" error?
.....

edga85 10-15-2009 13:05

Re: Compile 1 error
 
Quote:

Originally Posted by Exolent[jNr] (Post 962867)
Code:
// Not Avaible</p><p> &nbsp;&nbsp;&nbsp;&nbsp;zp_colored_print(id, "^x04[ZP]^x01 %L", id, "CMD_NOT_ACCESS")</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;show_menu_admin(id)


You really don't know what you got a "loose indentation" error?
.....

I doesnt really good at scripting :D

Exolent[jNr] 10-15-2009 13:07

Re: Compile 1 error
 
Each line within the same code block must line up horizontally on the left.
Code:
                                                // Not Avaible                                                 zp_colored_print(id, "^x04[ZP]^x01 %L", id, "CMD_NOT_ACCESS")                 show_menu_admin(id)
:arrow:
Code:
                // Not Avaible                 zp_colored_print(id, "^x04[ZP]^x01 %L", id, "CMD_NOT_ACCESS")                 show_menu_admin(id)
You act like you don't even know what "indent" means or even want to try to figure it out on your own.

edga85 10-15-2009 13:08

Re: Compile 1 error
 
Quote:

Originally Posted by Exolent[jNr] (Post 962878)
Each line within the same code block must line up horizontally on the left. Code:
// Not Avaible</p><p> &nbsp;&nbsp;&nbsp;&nbsp;zp_colored_print(id, "^x04[ZP]^x01 %L", id, "CMD_NOT_ACCESS")</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;show_menu_admin(id)

:arrow: Code:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;// Not Avaible</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;zp_colored_print(id, "^x04[ZP]^x01 %L", id, "CMD_NOT_ACCESS")</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;show_menu_admin(id)


You act like you don't even know what "indent" means or even want to try to figure it out on your own.

Yea i finished For myself :D
And look PM


All times are GMT -4. The time now is 22:39.

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