Raised This Month: $ Target: $400
 0% 

Back page?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bilal Pro
Senior Member
Join Date: Mar 2012
Location: Holland
Old 04-26-2012 , 14:52   Back page?
Reply With Quote #1

Hello there,

How do i create a backpage, i tryed this:
PHP Code:
menu_setprop(menuMPROP_BACKNAMEMENU_BACK
but it does not show the back button.
__________________
  • Point System with rank titles for sale [X] [100% private]
  • VIP Menu for sale [X] [100% private]
  • HnS shop more features for sale [X] [100% private]
Contact: Bilalzaandam1234, on steam if you are interested.
Bilal Pro is offline
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 04-26-2012 , 14:56   Re: Back page?
Reply With Quote #2

If you create a menu with more than six items, it will be automatically equipped with Back, Next and Exit items.
__________________

Last edited by claudiuhks; 04-27-2012 at 01:16.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
Bilal Pro
Senior Member
Join Date: Mar 2012
Location: Holland
Old 04-26-2012 , 15:00   Re: Back page?
Reply With Quote #3

Yeah but i dont have that in this menu im redirecting to another menu and when im inside that menu i want an option to go back to the main menu if you understand.
__________________
  • Point System with rank titles for sale [X] [100% private]
  • VIP Menu for sale [X] [100% private]
  • HnS shop more features for sale [X] [100% private]
Contact: Bilalzaandam1234, on steam if you are interested.
Bilal Pro is offline
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 04-26-2012 , 15:12   Re: Back page?
Reply With Quote #4

Then add manually an option "Back" that redirects.
__________________
<VeCo> is offline
Bilal Pro
Senior Member
Join Date: Mar 2012
Location: Holland
Old 04-26-2012 , 15:40   Re: Back page?
Reply With Quote #5

Quote:
Originally Posted by <VeCo> View Post
Then add manually an option "Back" that redirects.
That's just an awfull answer :S
__________________
  • Point System with rank titles for sale [X] [100% private]
  • VIP Menu for sale [X] [100% private]
  • HnS shop more features for sale [X] [100% private]
Contact: Bilalzaandam1234, on steam if you are interested.
Bilal Pro is offline
EpicMonkey
buttmonkey
Join Date: Feb 2012
Old 04-26-2012 , 17:03   Re: Back page?
Reply With Quote #6

Quote:
Originally Posted by Bilal Pro View Post
That's just an awfull answer :S
its not an awful answer , its an answer to your answer
EpicMonkey is offline
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 04-26-2012 , 20:31   Re: Back page?
Reply With Quote #7

If you are using new menu system and there is >= 6 items, it creates them automaticaly for you.

If you use old menu system, you've to create it manually.
__________________
You can do anything you set your mind to, man.

Devil259 is offline
Old 04-26-2012, 21:13
rak
This message has been deleted by rak. Reason: stupid answer
K.K.Lv
Veteran Member
Join Date: Aug 2008
Location: GameFolder
Old 04-26-2012 , 22:48   Re: Back page?
Reply With Quote #8

Code:
  #define STR_BACK "Back" #define STR_NEXT "Next" #define STR_EXIT "Next"   //create_menu and return the menu index here //add menu item here.   menu_setprop(menu, MPROP_EXITNAME, STR_EXIT) if (menu_pages(menu) > 1)//if the item sum more than 6; {     menu_setprop(menu, MPROP_BACKNAME, STR_BACK);     menu_setprop(menu, MPROP_NEXTNAME, STR_NEXT); }
__________________
QQ:116268742
K.K.Lv is offline
Send a message via MSN to K.K.Lv
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 04-27-2012 , 01:11   Re: Back page?
Reply With Quote #9

Quote:
Originally Posted by K.K.Lv View Post
Code:
  #define STR_BACK "Back" #define STR_NEXT "Next" #define STR_EXIT "Next"   //create_menu and return the menu index here //add menu item here.   menu_setprop(menu, MPROP_EXITNAME, STR_EXIT) if (menu_pages(menu) > 1)//if the item sum more than 6; {     menu_setprop(menu, MPROP_BACKNAME, STR_BACK);     menu_setprop(menu, MPROP_NEXTNAME, STR_NEXT); }
That's only for multilingual... If your plugin has multilingual support, you are supposed to change the item's name. If menu has many than six items, it will be automatically equipped with Back, Next and Exit items, like Devil259 said.
__________________

Last edited by claudiuhks; 04-27-2012 at 01:15.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-27-2012 , 04:04   Re: Back page?
Reply With Quote #10

Quote:
Originally Posted by Bilal Pro View Post
That's just an awfull answer :S
That is the correct answer. There are no built-in functions for menus to interact with each other.

If you don't want them to be able to exit the sub menu and only go back then you can show the previous menu in the exit case of the sub menu.
__________________

Last edited by fysiks; 04-27-2012 at 04:06.
fysiks is offline
Reply



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 07:50.


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