From 3027b732a57702eca1ce2f39f81df2cd3f06d947 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 3 Feb 2006 03:00:27 +0000 Subject: [PATCH] added player_menu_info --- plugins/include/amxmodx.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/include/amxmodx.inc b/plugins/include/amxmodx.inc index d451e9c8..56e0bdeb 100755 --- a/plugins/include/amxmodx.inc +++ b/plugins/include/amxmodx.inc @@ -789,6 +789,9 @@ native menu_item_setcall(menu, item, callback=-1); // sure they don't have this menu set anymore. native menu_destroy(menu); +//Gets info about a player's menu. Returns 1 if the player is viewing a menu. +native player_menu_info(id, &menu, &newmenu); + //Sets a menu property. See amxconst.inc for various menu properties. //The third value depends on the property native menu_setprop(menu, prop, ...);