instead of the method of
Quote:
Originally Posted by Alka
store the origin and compare the distance
|
you could block the corpse event, and replace it with your own interactive corpse where you could more accurately get the origin of the body when creating the blood. Since simply saving there origin when they died, won't work because where they die, and where there corpse falls is not always the same... Also depending on the death sequence, there actual origin is more near there feet then the center of there body allowing you to shoot them in strange areas to actually hit them.
Or as you seem to be doing by looking at your last posted source, constantly getting there origin after they have died, your just drawing blood from the spectators...
look into the fake corpse method used in this plugin. from there it should be easy.
http://forums.alliedmods.net/showthr...ht=revival+kit
__________________