View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 02-03-2019 , 23:10   Re: How to make menu with categories
Reply With Quote #3

@CliptonHeist Why would you manually add a Back button when the Menu API has the option to do it for you?

For reference, it's the menu's ExitBackButton property (new style) or SetMenuExitBackButton function (old style).

You can tell when a player selects it because it will trigger a MenuAction_Cancel with param2 set to MenuCancel_ExitBack
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 02-03-2019 at 23:13.
Powerlord is offline