Hit/Knife in back/rear ?
1 Attachment(s)
Is there a way to detect, if player was kicked/shoot/knifed in back/rear ?
|
Re: Hit/Knife in back/rear ?
You can try to hook TraceAttack on "player", check if player was attacked with knife.
When dealing dmg with a knife stab, it hurts 65hp points, but if it's from behind, this gets mult by 3, so the total damage done it's 195hp points. There wouldn't be other greater dmg value, so you can use it to check. Or also, you can imitate engine's way to check if player attacked behind another: PHP Code:
|
Re: Hit/Knife in back/rear ?
it's very interesting, but its 2014y, and no one ever want to check "hit in back" ? maybe there is some released code somewhere.. ?
of course i will try to create that function with damage *3, thanks for idea. |
Re: Hit/Knife in back/rear ?
I didn't make it. Found it somewhere.
Code:
|
Re: Hit/Knife in back/rear ?
awesome, thanks! will try
|
Re: Hit/Knife in back/rear ?
PHP Code:
|
| All times are GMT -4. The time now is 21:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.