View Single Post
Plugin Info:     Modification:          Category:         
AdamR
Senior Member
Join Date: Dec 2006
Location: Cardiff, South Wales
Old 07-25-2007 , 09:45   Bind Number Slots
Reply With Quote #1

Bind Number Slots
Version 1.1 - Last modified on 26th July, 2007.



This plug-in no longer works since the SteamPipe update for Half-Life due to the "bind" command being blocked from servers. See this post for more details.

This small plug-in simply allows users to bind the correct commands to their numbers (eg, number 4 binded to slot4). This ensures they can use all menu options available.

The player will get confirmation before executing the bind commands.

There is no confirmation for binding slot 1 and 2, as they are required for the player to accept/deny.

Administrators can also bind slots for players, confirmation still required.


Commands

say bindslots (ADMIN_ALL) Binds slots on whoever uses this.
say /bindslots (ADMIN_ALL) Binds slots on whoever uses this.
amx_bindslots <target> (ADMIN_ADMIN) Binds slots for the target.


CVAR's

None


Changelog

5th June, 2007 - Version 1.0
  • Initial release.

26th July, 2007 - Version 1.1
  • Added confirmation menu.
  • Fixed bug where target player isn't found on some servers.
  • Fixed bug where target ID 0 would work (effects all players).
  • Improved plugin structure, added language definitions.


Credits

Written by Adam Reece.
Tested by PvtT and Snickers.
Attached Files
File Type: sma Get Plugin or Get Source (bindslots.sma - 2526 views - 7.3 KB)
__________________
Thanks,

Adam Reece - Sven Co-op team.

Last edited by AdamR; 07-01-2014 at 10:58. Reason: Added notice about plug-in no longer working
AdamR is offline
Send a message via Skype™ to AdamR