Raised This Month: $ Target: $400
 0% 

Scripting Help Whats Wrong With my code


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 05-05-2016 , 13:58   Re: Scripting Help Whats Wrong With my code
Reply With Quote #3

Quote:
Originally Posted by pupdebox View Post
its giving me warning 217: loose indentation i have also added new tekrar = 1 at the beginning of plugin
Code:
	case 6: {
		if(tekrar >= 4)
		{
		tekrar = 1
		}
            switch( tekrar )
           	 	{
		case 1 : {
			client_cmd(0, "mp3 play sound/mp3/monsterx.mp3")
			tekrar += 1
			 }
		case 2 : {client_cmd(0, "mp3 play sound/mp3/heavenx.mp3")
			tekrar += 1
			  }
		case 3 : {client_cmd(0, "mp3 play sound/mp3/patliyoherkesx.mp3")
			 tekrar += 1
			 }
		        }
	        }

It doesnt affect your code. This is not an error , but if you feel unconfortable you use indenter tool from amxx studio.
siriusmd99 is offline
 



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 18:40.


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