Raised This Month: $ Target: $400
 0% 

without bind


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SkiesOFF
Member
Join Date: Mar 2008
Old 01-01-2009 , 12:02   without bind
Reply With Quote #1

Is there a way to, when someone press M for exemple, shows a menu? But without changing client bind?

Thanks
SkiesOFF is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-01-2009 , 12:43   Re: without bind
Reply With Quote #2

Unless the client has that key still bound to the default and you handle it that way, nope
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
kielor
Senior Member
Join Date: Jan 2009
Location: Russia, Novosibirsk
Old 01-01-2009 , 12:55   Re: without bind
Reply With Quote #3

you can assign a function to a command that is default on that key
kielor is offline
Send a message via ICQ to kielor Send a message via Skype™ to kielor
L//
Senior Member
Join Date: Aug 2008
Location: Not found
Old 01-01-2009 , 15:05   Re: without bind
Reply With Quote #4

for example:

PHP Code:
register_clcmd("chooseteam""cmd_changeteam"
when you press the M (default)

PHP Code:
public cmd_changeteam(id)
{
    
your_menu(id)
    return 
PLUGIN_HANDLED;

__________________
L// is offline
Send a message via MSN to L//
SkiesOFF
Member
Join Date: Mar 2008
Old 01-01-2009 , 18:38   Re: without bind
Reply With Quote #5

hmm. thank you

i will try this.
SkiesOFF 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 09:05.


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