08-04-2005, 05:49 PM
(This post was last modified: 08-05-2005, 02:37 AM by [a] 5 | Fuzz.)
![[Image: Autobind_example.jpg]](http://www.a5clan.com/Autobind_example.jpg)
i had a plugin made for my hoookmod server that bind f to hook for each player when they join a team. and it gives them a message as shown above. i don't know if you would be interested in this plugin for your server when you get it up, but i got sick of people asking how to do hook. it is a simple plugin and you can change the key or the message it says.
i just thought i would pass it on.
Code:
#include <amxmod>
#include <amxmisc>
public client_connect(id){
 client_cmd(id,"bind f +hook")
}
public bind_msg(ids[]){
 set_hudmessage(0,255,165,0.29, 0.30,0,0.0,9.0,3.0,3.0)
 show_hudmessage(0, "Hook Has Been Bound To 'f' For You...Enjoy!")
 client_print(0, print_chat, "* Hook Has Been Bound To 'f' For You...Enjoy!")
 return PLUGIN_CONTINUE
}
public client_putinserver(id) {
  new ids[1]
  ids[0] = id
  set_task(10.0,"bind_msg",0,ids,1)
  return PLUGIN_CONTINUE
}
public plugin_init(){
 register_plugin("autobind","0.1","Split")
}well if you aren't interested, then ignore this
.:rAw:. | Clan Hookmod: 64.182.102.134:27016
[img]ftp://website@64.68.170.66/images/sig_2.jpg[/img]
Fuzz ^ And Snapple V Are One In The Same
[img]ftp://website@64.68.170.66/images/sig_1.jpg[/img]
[img]ftp://website@64.68.170.66/images/sig_2.jpg[/img]
Fuzz ^ And Snapple V Are One In The Same
[img]ftp://website@64.68.170.66/images/sig_1.jpg[/img]

