Possible to change knife damage?
#6

Quote:
Originally Posted by g_aSlice
Посмотреть сообщение
Not bad; however, with the GetPlayerAnimationIndex function, this could be done in a better way.
That code could make players that got knifed get away with only losing 1 hp, and players that didn't lose 50 hp.
My suggestion to a proper solution would be to check nearby players, when a knifing slash animation is played out, for these animations (from my animation_names.inc):
pawn Код:
KNIFE_KNIFE_HIT_1,              // 755
KNIFE_KNIFE_HIT_2,              // 756
KNIFE_KNIFE_HIT_3,              // 757
I can write a FS for this when I get home.
Smart thinking, I forgot about half of the new 0.3b - 0.3a R6 functions. Anyhow, if you're going to write an FS for it I won't bother producing the code.
Reply


Messages In This Thread
Possible to change knife damage? - by Kitten - 26.10.2010, 05:19
Re: Possible to change knife damage? - by Calgon - 26.10.2010, 05:21
Re: Possible to change knife damage? - by Kitten - 26.10.2010, 05:44
Re: Possible to change knife damage? - by Slice - 26.10.2010, 08:51
Re: Possible to change knife damage? - by Bogdanovic - 26.10.2010, 10:51
Re: Possible to change knife damage? - by Calgon - 26.10.2010, 12:00

Forum Jump:


Users browsing this thread: 2 Guest(s)