AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [help] New menu (https://forums.alliedmods.net/showthread.php?t=172168)

Lolz0r 11-16-2011 13:00

[help] New menu
 
1 Attachment(s)
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

TheBadBoy 11-16-2011 13:12

Re: [help] New menu
 
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

Lolz0r 11-16-2011 13:58

Re: [help] New menu
 
When i remove it the option exit removes as well.

drekes 11-16-2011 14:02

Re: [help] New menu
 
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.

Lolz0r 11-16-2011 14:17

Re: [help] New menu
 
drekes, i want instead of 3.Exit to be shown 0.Exit.. :)

Erox902 11-16-2011 14:38

Re: [help] New menu
 
Quote:

Originally Posted by Lolz0r (Post 1597643)
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.

731 11-17-2011 07:04

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

Lolz0r 11-17-2011 08:03

Re: [help] New menu
 
Okay.


All times are GMT -4. The time now is 08:27.

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