loose identation error
1 Attachment(s)
I tryed changing something in the adminmodx plugin. In the exec part, I added immunity check for amx_exec, amx_execteam without problem.
Now I am trying to add it to amx_execall. I got something to work, but when compiling I am getting an loose identation error at line 515 (look below). The immunity check works, but it still does bother me. I just started coding and I want to know what I did wrong. Here is what I have, if there is an easiest way, please let me know ---- Code:
I am pretty sure it as do to something with the FOR and the counter, line 515 is in this one for(counter = 0; counter < totalPlayers; counter++) added the attachement, I don't know how to add it on the forum, sorry |
Re: loose identation error
|
Re: loose identation error
I was gonna make a sarcastic comment on how unhelpfull you were, but then I realised that it was my fault and that the way I posted my code would have made it impossible for you to correct me.
So thx |
Re: loose identation error
You're missing a bracket. Also, place your code in "[small]" tags.
|
Re: loose identation error
Sorry, I saw the plain code and the post title, I thought you had problems with identing. Like Zenith said, use small tags when you paste code in here.
|
Re: loose identation error
Code:
if(equal(cmd, "all")) |
| All times are GMT -4. The time now is 04:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.