Raised This Month: $ Target: $400
 0% 

Displaying bullet damage with HamSandwich


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-12-2009 , 11:49   Re: Displaying bullet damage with HamSandwich
Reply With Quote #1

Damage (arg4) is not the damage that the player will actually take.
It depends on DMG_TYPE, wepon, distance, armor...
To retrieve real damage, register the forward as post (as you did), and check pev_dmg_take player value.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-14-2009 , 14:31   Re: Displaying bullet damage with HamSandwich
Reply With Quote #2

Quote:
Originally Posted by ConnorMcLeod View Post
To retrieve real damage, register the forward as post (as you did), and check pev_dmg_take player value.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 01-14-2009 , 14:32   Re: Displaying bullet damage with HamSandwich
Reply With Quote #3

Ahh...i thought you were refering at his post
__________________

anakin_cstrike is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode