Raised This Month: $ Target: $400
 0% 

Too Late To Ban


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
sipster19
Senior Member
Join Date: Mar 2011
Old 03-16-2014 , 13:32   Re: Too Late To Ban
Reply With Quote #11

The reason I wanted there not to be a back button when you type !tltb was because that is the first menu that you see. It would not make sense to have a back button. However if you type !admin, player commands, ban disconnected player and pick a player, it makes sense to have a back button here because you just paginated through them. Is there a way to detect if you came in through sm_admin? Then it would have a back button but !tltb wouldn't. Maybe through an if statement? Then TltbAdminMenuHandler wouldn't have to call a different menu.

Code:
if (sm_admin):
		/* Allow navigation back and forth */
		SetMenuExitBackButton(menu, true);
If there's not, I think it wouldn't be very hard to create a boolean.

- Although this feature isn't entirely necessary, it would be nice to have.

Last edited by sipster19; 03-16-2014 at 14:38.
sipster19 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode