I have made a menus and 1 of them have a submenu,so i put...
PHP Code:
case 6 :
{
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