View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 01-20-2018 , 09:23   Re: Checking if a player hits "Next" and "Previous" in a menu
Reply With Quote #7

Quote:
Originally Posted by eyal282 View Post
How to do that? I can only do it on menu cancel but even then it may false predict if another menu interrupts.
What problem? The menu isn't disposed until after the MenuAction_Cancel finishes. menu.Selection or GetMenuSelectionPosition should work until then.

You use these along with menu.DisplayAt or DisplayMenuAtItem to redisplay a menu at the correct page.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 01-20-2018 at 09:24.
Powerlord is offline