Raised This Month: $ Target: $400
 0% 

Bind problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
_GamerX
AlliedModders Donor
Join Date: Jun 2011
Location: Fun Server
Old 09-17-2013 , 02:57   Bind problem
Reply With Quote #1

PHP Code:
    format(tempString,100,"Hook \dBind: ^"\r+hook\d^"")
    
menu_additem(m11tempString,"9"
Instead of showing
1. Hook Bind: "+hook"
will show
1. Hook Bind: "[x]"
x = bind bottom

But I do not want it that way previewed
__________________
_GamerX is offline
Send a message via ICQ to _GamerX Send a message via Skype™ to _GamerX
xxxnenadxxx
Junior Member
Join Date: Oct 2010
Location: Brod
Old 09-17-2013 , 04:43   Re: Bind problem
Reply With Quote #2

Why not simply
PHP Code:
menu_additem(m11"Hook \dBind: ^"\r+hook^"""9"

Last edited by xxxnenadxxx; 09-17-2013 at 04:43.
xxxnenadxxx is offline
_GamerX
AlliedModders Donor
Join Date: Jun 2011
Location: Fun Server
Old 09-17-2013 , 04:59   Re: Bind problem
Reply With Quote #3

I use multilingual...
__________________
_GamerX is offline
Send a message via ICQ to _GamerX Send a message via Skype™ to _GamerX
xxxnenadxxx
Junior Member
Join Date: Oct 2010
Location: Brod
Old 09-17-2013 , 07:49   Re: Bind problem
Reply With Quote #4

I think it auto-detects binded key for command that have + in front of it and prints only key, not command name. If command is defined in code to be used on specific button it will print button name instead of command name. For example if you replace +hook with +use (default command defined in game engine) in your code it will print "E" (if you use default keys). I guess you binded somwhere in your code +hook command to be used with X key and that is why it prints X. Maybe if you undefine it, it should print +hook as text, or you can add whitespace after + symbol but I guess you don't want to do that.

Last edited by xxxnenadxxx; 09-17-2013 at 07:51.
xxxnenadxxx is offline
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 09-17-2013 , 15:29   Re: Bind problem
Reply With Quote #5

1. Hook Bind: "[x]"
I'd say this is pretty much impossible.

What is the menu for?
__________________

Last edited by Black Rose; 09-17-2013 at 15:29.
Black Rose is offline
xxxnenadxxx
Junior Member
Join Date: Oct 2010
Location: Brod
Old 09-17-2013 , 16:59   Re: Bind problem
Reply With Quote #6

I'm pretty sure that is possible.

And I think it speaks for itself.
Hook - for example to move person to position where he is aiming at (something like climbing on building with rope and hook?).
Something like this http://forums.alliedmods.net/showthread.php?t=63271 if I'm not mistaken
xxxnenadxxx is offline
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 09-17-2013 , 17:22   Re: Bind problem
Reply With Quote #7

_GamerX...
If I'm reading it correctly you're trying to force binds to players.
You can't do this for 2 reasons...
1. It's not allowed on AM forums.
2. Since a new update it has been blocked. (Finally)
...so the menu seems kind of pointless.

Maybe I'm not understanding the purpose of the menu?

EDIT: *sigh* The server in your sig is non-steam which means advertising it is a violation of the rules of this forum.
__________________

Last edited by Black Rose; 09-17-2013 at 17:26.
Black Rose is offline
_GamerX
AlliedModders Donor
Join Date: Jun 2011
Location: Fun Server
Old 09-18-2013 , 00:09   Re: Bind problem
Reply With Quote #8

Quote:
Originally Posted by Black Rose View Post
_GamerX...
If I'm reading it correctly you're trying to force binds to players.
You can't do this for 2 reasons...
1. It's not allowed on AM forums.
2. Since a new update it has been blocked. (Finally)
...so the menu seems kind of pointless.

Maybe I'm not understanding the purpose of the menu?

EDIT: *sigh* The server in your sig is non-steam which means advertising it is a violation of the rules of this forum.
99% servers is nonsteam....
__________________
_GamerX is offline
Send a message via ICQ to _GamerX Send a message via Skype™ to _GamerX
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-18-2013 , 01:21   Re: Bind problem
Reply With Quote #9

Quote:
Originally Posted by _GamerX View Post
99% servers is nonsteam....
LOL. Now you are a comedian.


That still doesn't justify anything.
__________________

Last edited by fysiks; 09-18-2013 at 01:22.
fysiks is offline
_GamerX
AlliedModders Donor
Join Date: Jun 2011
Location: Fun Server
Old 09-18-2013 , 04:34   Re: Bind problem
Reply With Quote #10

If he were not so nonsteam this forum would be inactive -_-
__________________
_GamerX is offline
Send a message via ICQ to _GamerX Send a message via Skype™ to _GamerX
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 19:08.


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