Raised This Month: $95 Target: $400
 23% 

Hit notifications.


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   EKS (167)
pdoubleopdawg
Senior Member
Join Date: Aug 2005
Old 08-27-2005 , 17:55   Hit notifications.
Reply With Quote #1

What does it do?
1. When hit, your screen flashes transparent red for a short period of time (.5 seconds or something..)
2. When hit, your screen shakes a LITTLE, it's not even really noticable.
3. When you hit someone, it makes a beep sound.



Cvars
hn_redflash <0/1> (Default 1)
hn_shake <0/1> (Default 1)
hn_beep <0/1> (Default 1)




BugZ
None- Thanks to GHW_Chronic for solving my "Beep on fall" problem!
Attached Files
File Type: sma Get Plugin or Get Source (hitnotify.sma - 2488 views - 1.1 KB)
pdoubleopdawg is offline
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 08-27-2005 , 17:57  
Reply With Quote #2

Quote:
1. When hit, your screen flashes transparent red for a short period of time (.5 seconds or something..)
2. When hit, your screen shakes a LITTLE, it's not even really noticable.
What's the point of these?

I like the when you hit someone part, but the first two are kind of pointless.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
pdoubleopdawg
Senior Member
Join Date: Aug 2005
Old 08-27-2005 , 18:34  
Reply With Quote #3

What was the point of posting? I like them there so I can see if I'm hit better.
pdoubleopdawg is offline
atomic
Veteran Member
Join Date: Jan 2005
Location: What The Foot?
Old 08-27-2005 , 18:54  
Reply With Quote #4

what about adding a beep sound when you get hit by a he..like in half life 2
__________________
atomic is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 08-27-2005 , 23:00  
Reply With Quote #5

Code:
client_cmd(attacker,"spk buttons/blip2.wav")
Yeah, when u fall u are the attacker, it registers as u attacking urself when worldspawn hurts you.

Didn't v3x make one of these, dunno if he posted though.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 08-27-2005 , 23:01  
Reply With Quote #6

add
Code:
if(attacker!=id)
so if they are one in the same it will not procees.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
pdoubleopdawg
Senior Member
Join Date: Aug 2005
Old 08-28-2005 , 00:24  
Reply With Quote #7

Thanks GHW, I'll update it and give you a bit of credit!

I believe v3x made a screenfade on damage plugin for his server, pretty sure he never released it though.
pdoubleopdawg is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 08-28-2005 , 00:36  
Reply With Quote #8

Yep, I did. It's pretty interesting. I was planning on releasing it, probably still will though. It's a bit different than this one.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 08-28-2005 , 00:49  
Reply With Quote #9

Quote:
Originally Posted by v3x
Yep, I did. It's pretty interesting. I was planning on releasing it, probably still will though. It's a bit different than this one.
YO MODS!!! REDUNDANCY! TRASH V3X'S LIKE U DO ALL OF MINE!!!
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
CadaVeR
Member
Join Date: Aug 2005
Location: Miami, Florida
Old 09-01-2005 , 23:13  
Reply With Quote #10

v3x whats the diff of ur plugin and his?
__________________
Regards,
CadaVeR
CadaVeR is offline
Send a message via AIM to CadaVeR Send a message via MSN to CadaVeR Send a message via Yahoo to CadaVeR
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 01:59.


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