killer weapon
Hi.I have this code but not working...for some reasons! :|. If killer weapon is CSW_HEGRENADE, plugin return _HANDLED!
Code:
Thanks :wink: |
Re: killer weapon
Name: DeathMsg Structure: byte KillerID byte VictimID byte IsHeadshot string TruncatedWeaponName
The 4th data parameter is the weapon name as a string.. Try using get_user_weapon or compare the strings. pretty sure HE is "grenade" |
Re: killer weapon
"Note: For grenade kill TruncatedWeaponName isn't "hegrenade" but "grenade", in fact it's an actual classname of a throwed grenade."
http://wiki.alliedmods.net/Half-Life...vents#DeathMsg |
Re: killer weapon
Heh thanks !solved with
Code:
new kweapon[32] |
| All times are GMT -4. The time now is 10:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.