Raised This Month: $ Target: $400
 0% 

Handle damage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
grankee
Member
Join Date: Jun 2008
Old 03-05-2009 , 06:27   Handle damage
Reply With Quote #1

I want to change any damage trigger by headshot.

Code:
public  plugin_init() 
{
register_plugin("Real  damage","1.0","grankee")
//RegisterHam(Ham_TakeDamage, "player",  "hook_TakeDamage") 
}

public hook_TakeDamage(Victim, Useless,  Attacker, Float:Damage,  damagebits)
{
//code...
}
But I don't know what part of body is hurt.


How to check on it?

Last edited by grankee; 03-05-2009 at 06:55.
grankee is offline
 


Thread Tools
Display Modes

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 17:08.


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