Raised This Month: $ Target: $400
 0% 

Warning: Unreachable code on line ...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
bazhenov93
Veteran Member
Join Date: Oct 2010
Old 04-18-2012 , 00:00   Warning: Unreachable code on line ...
Reply With Quote #1

PHP Code:
public menu(id) {
    if(!
is_user_alive(id) && is_user_connected(id))
    
ColorChat(idBLUE"You must be alive to use this function")
    return 
PLUGIN_HANDLED;

    

    new 
menu menu_create("title...""handler")  
    
    
menu_additemmenu"some function...""1" )
    
menu_display(idmenu0)
    return 
PLUGIN_HANDLED 

if I remove the colorchat message, i don't get this error.. can anyone explain the difference and why? thanks

also using { and } i get errors
bazhenov93 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 07:55.


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