Raised This Month: $ Target: $400
 0% 

loose identation?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
WaZZeR++
Veteran Member
Join Date: Mar 2005
Location: Sweden
Old 04-25-2005 , 16:30   loose identation?
Reply With Quote #1

Code:
bankickmenu.sma(16) : warning 217: loose indentation
bankickmenu.sma(19) : warning 217: loose indentation
bankickmenu.sma(100) : warning 217: loose indentation
bankickmenu.sma(103) : warning 217: loose indentation
bankickmenu.sma(115) : warning 217: loose indentation
bankickmenu.sma(197) : warning 217: loose indentation
what does this mean?
Attached Files
File Type: sma Get Plugin or Get Source (bankickmenu.sma - 666 views - 5.2 KB)
WaZZeR++ is offline
Send a message via MSN to WaZZeR++
Ced
Member
Join Date: Oct 2004
Old 04-25-2005 , 16:31  
Reply With Quote #2

means ur spacing isn't right in some places but has no effect
if u type #pragma tabsize 0 at the top near your includes, all the warnings will go away
Ced is offline
WaZZeR++
Veteran Member
Join Date: Mar 2005
Location: Sweden
Old 04-25-2005 , 16:37  
Reply With Quote #3

so the plugin works, even if i get this warnings?
WaZZeR++ is offline
Send a message via MSN to WaZZeR++
Belsebub
Senior Member
Join Date: Feb 2005
Location: Sweden
Old 04-25-2005 , 16:39  
Reply With Quote #4

yes
Belsebub is offline
WaZZeR++
Veteran Member
Join Date: Mar 2005
Location: Sweden
Old 04-25-2005 , 16:40  
Reply With Quote #5

well, then my first plugin is done

will test it tomorro.

night
WaZZeR++ is offline
Send a message via MSN to WaZZeR++
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 04-25-2005 , 16:51  
Reply With Quote #6

Or you could just fix them.. Don't use spaces and tabs combined, that's just sloppy..

Code:
public plugin_init() {         register_plugin("Vote Kick/Ban Menu","1.1","WaZZeR")     register_menucmd(register_menuid("\rVote Ban Menu:"),1023,"actionVoteBanMenu")     register_menucmd(register_menuid("\rVote Kick Menu:"),1023,"actionVoteKickMenu")     // Convert the spaces into 1 tab         register_clcmd("amx_votebanmenu","cmdVoteBanMenu",ADMIN_LEVEL_A,"- displays vote ban menu")         register_clcmd("amx_votekickmenu","cmdVoteKickMenu",ADMIN_LEVEL_A,"- displays vote kick menu") }

Code:
// ..             new authid[32] // Take away 1 tab             get_user_authid(player,authid,31) // Take away 1 tab         new userid = get_user_userid(   player)

Code:
// ..             server_exec()             // Make it 1 tab

Code:
// ..             new userid = get_user_userid(player)             // Make it one tab

Everything has to be consistent.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
slurpycof
Senior Member
Join Date: Nov 2004
Old 04-25-2005 , 18:57  
Reply With Quote #7

or you could use avalanches work and sweat to save you some

http://www.avalanche.epherion.com/indenter/
slurpycof is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 04-25-2005 , 19:02  
Reply With Quote #8

Yea, true.. Forgot about that.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
WaZZeR++
Veteran Member
Join Date: Mar 2005
Location: Sweden
Old 04-26-2005 , 13:15  
Reply With Quote #9

ohhh, nice, in my favorits now :p
WaZZeR++ is offline
Send a message via MSN to WaZZeR++
ZiP*
Senior Member
Join Date: Jul 2004
Old 04-26-2005 , 15:49  
Reply With Quote #10

And you could do this:

Code:
#pragma tabsize 0
ZiP* 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:48.


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