This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[Help] Menu with costum option


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rastafari
Senior Member
Join Date: May 2011
Old 12-28-2011 , 08:10   [Help] Menu with costum option
Reply With Quote #1

I'm making a menu for my server, and I was wondering how to make a menu option with costum setting. I mean like a kick option and I have to write myself the name which has to be kicked, not choosing one from the players list.

Thanks in advance
rastafari is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-28-2011 , 15:05   Re: [Help] Menu with costum option
Reply With Quote #2

It's easier to just use a bind:

Code:
bind "key" "messagemode amx_kick"
Then, all you have to do is hit that key and type a name then hit enter.

You can also make the message mode come up via the plugin using client_cmd(). Which is what you would have to do with your menu. You can see the snapshot or banshot plugin (I can't remeber it's name exactly) by dorin to see how I did it with the reason.
__________________

Last edited by fysiks; 12-28-2011 at 15:07.
fysiks is offline
rastafari
Senior Member
Join Date: May 2011
Old 12-28-2011 , 16:11   Re: [Help] Menu with costum option
Reply With Quote #3

Thanks for help but it's like Japanese for me.
I think I'll drop this idea, hehe.
__________________
rastafari 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 22:57.


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