 |
|
BANNED
Join Date: Oct 2009
Location: Beautiful Beach
|

10-13-2009
, 08:20
Re: [HELP] How to get a player was attacked at leg ?
|
#6
|
Quote:
Originally Posted by ot_207
PHP Code:
// plugin_init() RegisterHam(Ham_TraceAttack, "player", "fw_trace")
public fw_trace(victim, attacker, Float:damage, Float:dir[3], ptr, bits) { if (get_tr2(ptr, TR_iHitgroup) == HIT_HEAD) { client_print(victim, print_chat, "HEAD HURTS!!!") } return HAM_IGNORED }
|
It Should only show when there is Headshot.but it is showing when head is hit 1 time.not headshot
|
|
|
|