AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   MENU: Removing the item "Exit" from it (https://forums.alliedmods.net/showthread.php?t=88055)

.vitor 03-19-2009 20:23

MENU: Removing the item "Exit" from it
 
Hello, I'd like to know if theres any possible way to remove that default item "Exit" ( on the new menu style ), when making a menu, you add the items, ok, but the item "Exit" ( key 0 by default ) is like default, its automatic, you don't make it, it just appears there ( ofc, with a obvious reason )
I just want to know if its possible to remove, so the only I got on my menu is like:

  • Title
  1. Custom Item 1
  2. Custom Item 2

And nothing more than that.

Thanks

joaquimandrade 03-19-2009 20:49

Re: MENU: Removing the item "Exit" from it
 
menu_setprop(menu,MPROP_EXIT,MEXIT_NEVER)

Exolent[jNr] 03-20-2009 00:00

Re: MENU: Removing the item "Exit" from it
 
menu_setprop(menu, MPROP_PERPAGE, 0);

xPaw 03-20-2009 03:55

Re: MENU: Removing the item "Exit" from it
 
is it possbile then todo
1st page
9. Next page
0. Exit

2nd page
9. Next Page
0. Back

because i hate when it eats 3 nums


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

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