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

Bind Number Slots


Post New Thread Reply   
 
Thread Tools Display Modes
AdamR
Senior Member
Join Date: Dec 2006
Location: Cardiff, South Wales
Old 07-26-2007 , 10:55   Re: Bind Slots
Reply With Quote #21

Ah you're using the older menu system. I'm trying out the new one.
__________________
Thanks,

Adam Reece - Sven Co-op team.
AdamR is offline
Send a message via Skype™ to AdamR
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 07-26-2007 , 10:58   Re: Bind Slots
Reply With Quote #22

Well, the way you were setting up it up kinda looked wrong. I use the old style on small plugins, because it is simple and easy
__________________
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
X-Script
BANNED
Join Date: Jul 2007
Location: (#504434)
Old 07-26-2007 , 11:09   Re: Bind Slots
Reply With Quote #23

It's still a usefull plugin either way.
X-Script is offline
Lee
AlliedModders Donor
Join Date: Feb 2006
Old 07-26-2007 , 11:30   Re: Bind Slots
Reply With Quote #24

So you're going to ignore what I said? Add a debug message to display the value of id in bindslots.

Last edited by Lee; 07-26-2007 at 12:22.
Lee is offline
dekken
Veteran Member
Join Date: Jul 2007
Old 07-26-2007 , 11:55   Re: Bind Slots
Reply With Quote #25

how that plugin Helps?
dekken is offline
X-Script
BANNED
Join Date: Jul 2007
Location: (#504434)
Old 07-26-2007 , 12:02   Re: Bind Slots
Reply With Quote #26

Quote:
Originally Posted by dekken View Post
how that plugin Helps?
What?
X-Script is offline
BlackMilk
Veteran Member
Join Date: Jun 2007
Old 07-26-2007 , 12:11   Re: Bind Slots
Reply With Quote #27

Quote:
Originally Posted by dekken View Post
how that plugin Helps?
Some players can't use menu's and such because their numberkeys aren't bound properly. Menu's in plugins/mods such as Amx X, and weapon slots in Valve games all depend on slot binds. Such as slot1, slot2, slot3 and slot10 for key "0".

To fix this easily, this plugin automatically binds those keys FOR you if you use the command given with the plugin. So after that you can use all number keys as normal. (beyond like, 6, numbers are often not bound, while menu's usually use all 10 number slots)
__________________
Mod:
User:
BlackMilk is offline
AdamR
Senior Member
Join Date: Dec 2006
Location: Cardiff, South Wales
Old 07-26-2007 , 12:25   Re: Bind Slots
Reply With Quote #28

Fixed it. I wasn't pointing menu_create to the correct handler.

v1.1 out.
__________________
Thanks,

Adam Reece - Sven Co-op team.
AdamR is offline
Send a message via Skype™ to AdamR
X-Script
BANNED
Join Date: Jul 2007
Location: (#504434)
Old 07-26-2007 , 12:26   Re: Bind Slots
Reply With Quote #29

Quote:
Originally Posted by AdamR View Post
v1.1 out.
X-Script is offline
AdamR
Senior Member
Join Date: Dec 2006
Location: Cardiff, South Wales
Old 07-26-2007 , 12:40   Re: Bind Slots
Reply With Quote #30

Please let me know if it works on your server. I tested it on 2 of mine, all seemed to work well. Here is a single line command you can use to quickly unbind your slots:
Code:
bind 1 ""; bind 2 ""; bind 3 ""; bind 4 ""; bind 5 ""; bind 6 ""; bind 7 ""; bind 8 ""; bind 9 ""; bind 0 "";
__________________
Thanks,

Adam Reece - Sven Co-op team.
AdamR is offline
Send a message via Skype™ to AdamR
Reply


Thread Tools
Display Modes

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 08:12.


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