Quote:
Originally Posted by myusername
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"