Raised This Month: $ Target: $400
 0% 

Player menu


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
mati009988
Member
Join Date: Jul 2009
Old 05-14-2011 , 06:39   Player menu
Reply With Quote #1

Hi!
I try to do nonclickable item in menu.
When i add menu addtext replaced error:

Quote:
L 05/14/2011 - 19:25:12: Blanks can only be added after items.
L 05/14/2011 - 19:25:12: [AMXX] Displaying debug trace (plugin "atest5.amxx")
L 05/14/2011 - 19:25:12: [AMXX] Run time error 10: native error (native "menu_addtext")
L 05/14/2011 - 19:25:12: [AMXX] [0] atest5.sma::AwesomeMenu (line 15
PHP Code:
    for( new ii<pnumi++ )
    {
        
tempid players[i];
        
get_user_name(tempidszNamecharsmax(szName));
        
num_to_str(tempidszTempidcharsmax(szTempid));
        if(!(
get_user_flags(tempid) & ADMIN_IMMUNITY)){
            
menu_additem(menuszNameszTempid0);
        } else {
            new 
wyjscie[51]
            
formatex(wyjsciecharsmax(wyjscie), "\d%s \r*"szName
            
menu_addtext(menuwyjscie0)
        }
        
    } 
How to fix it?
mati009988 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 04:25.


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