AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Unreachabe code and menu_handler problem (https://forums.alliedmods.net/showthread.php?t=146915)

Leon_12 01-03-2011 06:50

Unreachabe code and menu_handler problem
 
1 Attachment(s)
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

xPaw 01-03-2011 06:59

Re: Unreachabe code and menu_handler problem
 
You placed } at wrong place. Remove it from line 100, and add it on line 65.

Leon_12 01-03-2011 07:00

Re: Unreachabe code and menu_handler problem
 
tnx no errors :)


All times are GMT -4. The time now is 02:08.

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