Death Controling.
Hey how would you make it so you can detect if more than one death happened within a 1 second period? Then stop the second and kill them a second later?
I have no idea how to.. Thanks. |
Re: Death Controling.
Try this:
Code:
|
Re: Death Controling.
I could have gotten that far but where I get lost is how to STOP the damage and reapply it in the next second.
|
Re: Death Controling.
Really not that easy..
Stopping damage is almost impossible. Look at some of avalanches plugins for info on how to hook tracelines and stop damage that way. But this only can stop damage from guns. Knives and nades are unaffected. As for applying damage you can use fakemeta's fakedamage, and user_kill etc etc.. Or you can have a look at sawce's ham samwich module which has functions to both stop and create proper damage (not sure how it works.. havn't tried it.) |
Re: Death Controling.
what about Slowing damage?
|
Re: Death Controling.
You can stop and "emit" actual damage with a Ham Sandwich module (see Modules / Coding section).
|
Re: Death Controling.
Thanks VEN. lol thats a great name! It should be part of the core 100% of the way!
|
| All times are GMT -4. The time now is 06:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.