Raised This Month: $ Target: $400
 0% 

Solved Adding Back button to new menu system


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Natsheh
Veteran Member
Join Date: Sep 2012
Old 08-04-2019 , 17:30   Re: Adding Back button to new menu system
Reply With Quote #10

There is a way to add exit with a back button but you need to hold a use key or any key command start with +
To exit or return to the old menu depends on your menu order

For example

PHP Code:
menu_setprop(menuidMPROP_EXIT_NAME"RETURN ^n/
\rE0. \wExit"
)

public 
menuhandle(idmenu item)
{
        if(
item == MENU_EXIT &&  get_user_button(id) & IN_USE// EXITING THE MENU
        
else if(item == MENU_EXIT// Return old menu 
You probably need to check if user is still holding the key also
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 08-04-2019 at 17:38.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
 



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 17:20.


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