Raised This Month: $51 Target: $400
 12% 

[help] New menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Lolz0r
Veteran Member
Join Date: Nov 2010
Location: Balgaria
Old 11-16-2011 , 13:00   [help] New menu
Reply With Quote #1

Hello, can you fix the menu, now it pops up like this:

[Darknezz-zone] Rules for play!

1.Rules - Player
2.Rules - Admin

3.Exit

to be done:

[Darknezz-zone] Rules for play!

1.Rules - Player
2.Rules - Admin

0.Exit
Attached Files
File Type: sma Get Plugin or Get Source (rules_menu.sma - 631 views - 1.3 KB)
Lolz0r is offline
TheBadBoy
Junior Member
Join Date: Nov 2011
Old 11-16-2011 , 13:12   Re: [help] New menu
Reply With Quote #2

Wtf...

You have only to delete this:
PHP Code:
menu_additemmenu"\wExit""0"
You will have "0. Exit" by default you don't have to write it on your plugin
TheBadBoy is offline
Lolz0r
Veteran Member
Join Date: Nov 2010
Location: Balgaria
Old 11-16-2011 , 13:58   Re: [help] New menu
Reply With Quote #3

When i remove it the option exit removes as well.
Lolz0r is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 11-16-2011 , 14:02   Re: [help] New menu
Reply With Quote #4

PHP Code:
menu_setpropmenuMPROP_EXITMEXIT_NEVER 
This removes the default exit option.

So remove that line & the manually made exit item.
It should be fine then.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
Lolz0r
Veteran Member
Join Date: Nov 2010
Location: Balgaria
Old 11-16-2011 , 14:17   Re: [help] New menu
Reply With Quote #5

drekes, i want instead of 3.Exit to be shown 0.Exit..
Lolz0r is offline
Erox902
Veteran Member
Join Date: Jun 2009
Location: Never Never Land
Old 11-16-2011 , 14:38   Re: [help] New menu
Reply With Quote #6

Quote:
Originally Posted by Lolz0r View Post
drekes, i want instead of 3.Exit to be shown 0.Exit..
He just told how to do it, if you mean you don't want the gap in between then you'll have to use the old menus.
If you mean he should fix it for you then definetly hit the request or tutorial section.
Erox902 is offline
731
Member
Join Date: Aug 2006
Old 11-17-2011 , 07:04   Re: [help] New menu
Reply With Quote #7

New menu can not remove the extra blank lines
I've given up new menu approach
You must use the old menu approach

Last edited by 731; 11-17-2011 at 07:04.
731 is offline
Lolz0r
Veteran Member
Join Date: Nov 2010
Location: Balgaria
Old 11-17-2011 , 08:03   Re: [help] New menu
Reply With Quote #8

Okay.
Lolz0r 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 19:49.


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