Raised This Month: $ Target: $400
 0% 

Problem with menus


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 05-21-2010 , 15:42   Problem with menus
Reply With Quote #1

I have made a menus and 1 of them have a submenu,so i put...


PHP Code:
case :
{
        
Submenu(id);

PHP Code:
Submenu (id)
{
       
//Menu's things
}

//Handler

if(item == MENU_EXIT)
{
    
menu_destroy(Menu);
    
         if(
is_user_connected(id))
                
1stMenu(id);
    return 
PLUGIN_HANDLED;

When i try to compile,this send me this error
Code:
Error: Number of arguments does not match definition on line 802
But 1stMenu,i'ts just for admins (all menus are just for admins)...so i use
public 1stMenu(id,level,cid)

I tried to put 1stMenu(id,level,cid) (to send back to 1stMenu)
But when i put that,compiler shows Undefined simbol : level,Undefined simbol : cid....
How i can make this?

btw I'm ussing amxmisc.inc

Last edited by #8 SickneSS; 05-21-2010 at 15:46.
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
 



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 03:51.


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