Raised This Month: $ Target: $400
 0% 

Unreachabe code and menu_handler problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Leon_12
Senior Member
Join Date: Jul 2010
Location: Bulgaria
Old 01-03-2011 , 06:50   Unreachabe code and menu_handler problem
Reply With Quote #1

hi can anyone tell me how to fix the errors from my sma i read tuturial but i can't find something for these errors so can anyone tell me where i wrong here is the errors:
1.Warning: Unreachable code on line 66
2.Warning: Function "menu_handler" should return a value on line 101

here is the sma
Attached Files
File Type: sma Get Plugin or Get Source (Halo_items.sma - 578 views - 2.3 KB)
Leon_12 is offline
Send a message via Skype™ to Leon_12
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 01-03-2011 , 06:59   Re: Unreachabe code and menu_handler problem
Reply With Quote #2

You placed } at wrong place. Remove it from line 100, and add it on line 65.
__________________
xPaw is offline
Leon_12
Senior Member
Join Date: Jul 2010
Location: Bulgaria
Old 01-03-2011 , 07:00   Re: Unreachabe code and menu_handler problem
Reply With Quote #3

tnx no errors
Leon_12 is offline
Send a message via Skype™ to Leon_12
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 02:08.


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