Raised This Month: $ Target: $400
 0% 

HEAL


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
myusername
Senior Member
Join Date: Aug 2012
Old 06-01-2013 , 14:27   HEAL
Reply With Quote #1

Hello, i need plugin that if player press "F" key then player will heal himself (I disabled the flashlight). But cant move or attack. Also there will be screenfade, sound if player is healing. And team heal limit. Which means ct can heal up to 100hp and tr's can up to 130hp.

Thank you.
__________________
Rest in piece.

Last edited by myusername; 06-01-2013 at 14:30.
myusername is offline
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 06-01-2013 , 17:56   Re: HEAL
Reply With Quote #2

Quote:
Originally Posted by myusername View Post
Hello, i need plugin that if player press "F" key then player will heal himself (I disabled the flashlight). But cant move or attack. Also there will be screenfade, sound if player is healing. And team heal limit. Which means ct can heal up to 100hp and tr's can up to 130hp.

Thank you.
when player presses F ( flashlight ), you want it to auto heal after that point? so player doesnt have to keep button pushed... but it freezes them and screen fades to what transparency?

EDIT:

first off i know this code can be done much better. but i did it quickly before my kids woke up...

try it donno if its what your looking for....

Cvars:

amx_heal_ctmax "100"
amx_heal_tmax "130"
Attached Files
File Type: sma Get Plugin or Get Source (impulse-heal.sma - 488 views - 3.8 KB)
__________________

Last edited by Blizzard_87; 06-01-2013 at 18:53.
Blizzard_87 is offline
Don_Collione
BANNED
Join Date: Dec 2012
Location: Stockholm
Old 06-01-2013 , 21:00   Re: HEAL
Reply With Quote #3

Thanx Blizzard_87.
Don_Collione is offline
myusername
Senior Member
Join Date: Aug 2012
Old 06-02-2013 , 07:20   Re: HEAL
Reply With Quote #4

Thank you for your time. I will test it.

EDIT: It heals up to at limit. I want to make it custom. As long as keep pressing "F" then heals.
__________________
Rest in piece.

Last edited by myusername; 06-02-2013 at 08:06.
myusername is offline
Reply



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 17:43.


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