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

How to create Mani-like vote menus?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Anhil
Member
Join Date: Jan 2011
Old 01-30-2011 , 10:50   How to create Mani-like vote menus?
Reply With Quote #1

I want to disable "exit" button, that's all. I click it very often, because there was "next" in Mani, not "exit". Is it possible?
Anhil is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 01-31-2011 , 01:31   Re: How to create Mani-like vote menus?
Reply With Quote #2

http://docs.sourcemod.net/api/index....d=show&id=198& will allow you to remove the exit button on menus, but you'll have to recompile the scripts in question with it.
__________________
thetwistedpanda is offline
Arcy
Senior Member
Join Date: Feb 2010
Location: Wroclaw, Poland
Old 01-31-2011 , 02:26   Re: How to create Mani-like vote menus?
Reply With Quote #3

and is it possible to make mani-like vote modes?
-change map now
-change after round end
-change at the end of the current map
Arcy is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 01-31-2011 , 04:25   Re: How to create Mani-like vote menus?
Reply With Quote #4

See "mapchooser.cfg" in the cfg/sourcemod folder, there is a setting for that there.
Steell is offline
Anhil
Member
Join Date: Jan 2011
Old 01-31-2011 , 07:06   Re: How to create Mani-like vote menus?
Reply With Quote #5

Quote:
Originally Posted by thetwistedpanda View Post
http://docs.sourcemod.net/api/index....d=show&id=198& will allow you to remove the exit button on menus, but you'll have to recompile the scripts in question with it.
I found
Code:
SetMenuExitButton(g_VoteMenu, false);
in mapchooser.sp, but there's "exit" button.
Anhil is offline
Chrisber
AlliedModders Donor
Join Date: Jul 2007
Location: localhost
Old 01-31-2011 , 07:20   Re: How to create Mani-like vote menus?
Reply With Quote #6

Comment that line with //
Chrisber is offline
Anhil
Member
Join Date: Jan 2011
Old 01-31-2011 , 10:41   Re: How to create Mani-like vote menus?
Reply With Quote #7

Quote:
Originally Posted by Chrisber View Post
Comment that line with //
But second argument is "false",
Code:
Syntax:
native bool:SetMenuExitButton(Handle:menu, bool:button); 

Usage: 
 menu				Menu Handle.
 button			True to enable the button, false to remove it.
it means that "exit" button must be removed.
Anhil is offline
Anhil
Member
Join Date: Jan 2011
Old 02-03-2011 , 07:37   Re: How to create Mani-like vote menus?
Reply With Quote #8

Bump, is there a decision?
Anhil is offline
Arcy
Senior Member
Join Date: Feb 2010
Location: Wroclaw, Poland
Old 02-04-2011 , 03:26   Re: How to create Mani-like vote menus?
Reply With Quote #9

Quote:
Originally Posted by Steell View Post
See "mapchooser.cfg" in the cfg/sourcemod folder, there is a setting for that there.
You didn't get my point, I want to have 3 options under the admin votemap menu.

@admin > vote> votemap> when to change the map(immediately/after round/at map end)
Arcy 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 20:07.


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