Index Members Server Files Mail Forum Info



Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Amx Plugin That Binds Hook For Players
08-04-2005, 05:49 PM (This post was last modified: 08-05-2005 02:37 AM by [a] 5 | Fuzz.)
Post: #1
Amx Plugin That Binds Hook For Players
[Image: 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]
Find all posts by this user
Quote this message in a reply
08-05-2005, 12:42 AM
Post: #2
Amx Plugin That Binds Hook For Players
and what happens if u already bound it to another key?

[Image: subliminalmessage2bn.gif]
Visit this user's website Find all posts by this user
Quote this message in a reply
08-05-2005, 01:31 AM (This post was last modified: 08-05-2005 02:38 AM by [a] 5 | Fuzz.)
Post: #3
Amx Plugin That Binds Hook For Players
you can still use whatever key you had it bound to before. all it does is bind it to f also. you can have the command bound to two keys. so everyone who knows how to use it and has it bound to something differnt will not be affected. but all the people who don't even know how to open console or even know what the tilde key is will have hook bound to f for them wich i think works pretty well.

.: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]
Find all posts by this user
Quote this message in a reply
08-05-2005, 01:59 AM
Post: #4
Amx Plugin That Binds Hook For Players
c is normally bound to radio3...you're disabling peoples radio by doing that. Id suggest using f (if flashlight is disabled, like it was on wcs). I use mouse3 personally, its easier.

[Image: wroawbar.jpg]
Quote:[18:58] <@slxbot> SniperducK`: Stephen - Greek in origin, I've come to the conclusion that Stephen is just about the coolest male name. Whether it's prnounced 'Stef-an' or 'Steve-en' doesn't matter, it's just awesome. Steph and Stevie are also the coolest nicknames.
Find all posts by this user
Quote this message in a reply
08-05-2005, 02:02 AM (This post was last modified: 08-05-2005 02:03 AM by t3h_l33t_p3ngu1n.)
Post: #5
Amx Plugin That Binds Hook For Players
i use f for hook

and i use caps lock for radio commands

1337 at last. 1337 at last. Thank god almighty, I am 1337 at last.



1338
-Schietluis
Visit this user's website Find all posts by this user
Quote this message in a reply
08-05-2005, 02:33 AM
Post: #6
Amx Plugin That Binds Hook For Players
Mouse buttons ftw. Mouse3/4/5 = best hook buttons/keys across the mouse/keyboard, IMO.

And if someone has a weird keyboard arrangement (mine is odd, but some people have really whacked out controls) then you run the chance of overwriting one of their keys, which _might_ piss them off.

"You know I fuck at life." - Pirate
[20:57:27] <pir8`buddha> i need to wank it tonight
[20:57:40] <pir8`buddha> and by 'it' i mean my penis
[20:57:47] <pir8`buddha> and by 'wank' i mean masturbate
[20:58:00] <pir8`buddha> and by 'tonight' i mean im typing with one hand
Visit this user's website Find all posts by this user
Quote this message in a reply
08-05-2005, 02:36 AM
Post: #7
Amx Plugin That Binds Hook For Players
never considered c being the radio. guess i never use it. hmmm
f would be a better choice. well whatever i guess. thanks

.: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]
Find all posts by this user
Quote this message in a reply
08-05-2005, 03:19 AM
Post: #8
Amx Plugin That Binds Hook For Players
on dodgeball i used only my mouse to play. But im a "f" guy for any other map.

[23:51:13:Sat] <Stephen> i try to fuck fat chicks
[23:51:16:Sat] <Stephen> and im a closet homo
[23:50:20:Sat] * Doomz needs to study for a final.
[23:50:23:Sat] <Stephen> go stud


dwopple: i dont like the idea that ill be a mom >.>

<Womb-Raider> me thnks you both lied and had butt seks!
<Doomz`mew> We did...


Pantherx: pastor joshua... i would do him.
Find all posts by this user
Quote this message in a reply
08-05-2005, 03:44 AM (This post was last modified: 08-05-2005 03:45 AM by Blizzard.)
Post: #9
Amx Plugin That Binds Hook For Players
I just use F and I have Mouse 4/5/6/7/8 open.:P

But this is horrible if someone already has that key bound to something important (say if they use ESDF config instead).

[Image: 4uaukx3.gif]
[00:05] <Blix`> does your mother know you're gay?
[00:05] <SirVeach> no she does not.

[00:04] <Blix`> you've finally come to accept that you're gay
[00:04] <SirVeach> no i have not
[00:04] <SirVeach> i shall never accept it!
Visit this user's website Find all posts by this user
Quote this message in a reply
08-05-2005, 04:08 AM
Post: #10
Amx Plugin That Binds Hook For Players
oh well i guess it was a stupid plugin... but i am proud of itB)


what messages are in radio 3 anyway?

.: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]
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)