added player_menu_info
This commit is contained in:
parent
af939f4e8d
commit
3027b732a5
@ -789,6 +789,9 @@ native menu_item_setcall(menu, item, callback=-1);
|
|||||||
// sure they don't have this menu set anymore.
|
// sure they don't have this menu set anymore.
|
||||||
native menu_destroy(menu);
|
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.
|
//Sets a menu property. See amxconst.inc for various menu properties.
|
||||||
//The third value depends on the property
|
//The third value depends on the property
|
||||||
native menu_setprop(menu, prop, ...);
|
native menu_setprop(menu, prop, ...);
|
||||||
|
Loading…
Reference in New Issue
Block a user