Raised This Month: $ Target: $400
 0% 

Detect damage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
reinert
Veteran Member
Join Date: Feb 2007
Old 06-17-2011 , 05:21   Detect damage
Reply With Quote #1

How to detect a weapon with which was damage done ?

Like I've plugin that deals extra damage if you are with knife, but it hooks like
if(AttackerWeapon == CSW_KNIFE)

and there is a bug when I throw HE, and instantly switch my gun to knife, it deals KNIFE damage, even if it was done by HE.
reinert is offline
 



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 23:30.


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