Grenade Kill
PHP Code:
PHP Code:
|
Re: Grenade Kill
If the victim is killed with a grenade, then how can the attacker be holding the grenade?
You can either: 1. Check if weapon name sent to the death function is "grenade" (or maybe "hegrenade") 2. Use CSX's client_death() and check if weapon ID is CSW_HEGRENADE. |
Re: Grenade Kill
Quote:
|
Re: Grenade Kill
You can search. It's in the funcwiki and I've used it to post requested plugins here before.
|
Re: Grenade Kill
Code:
public client_death(killer,victim,wpnindex,hitplace,TK){ |
Re: Grenade Kill
Quote:
|
Re: Grenade Kill
http://wiki.amxmodx.org/Half-Life_1_...vents#DeathMsg
Code:
Name: DeathMsgCode:
Note: For grenade kill TruncatedWeaponName isn't "hegrenade" but "grenade", in fact it's an actual classname of a throwed grenade.Code:
|
| All times are GMT -4. The time now is 07:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.