I don't need anythink with admin.
How about this?
PHP Code:
public handle_level_menu(id, menu, item)
{
if (item == MENU_EXIT)
{
menu_destroy(menu);
return PLUGIN_HANDLED;
}
new data[6], iName[64]
new access, callback
menu_item_getinfo(menu, item, access, data,5, iName, 63, callback)
new key = str_to_num(data)
if ( player_xxx = 1)
{
switch(key)
{
case 1:
{
}
}
}
}
Just example.