 |
|
Junior Member
|

06-07-2018
, 14:13
Re: (HELP) Detect self grenade kill
|
#4
|
Quote:
Originally Posted by ^SmileY
where is the part that check for the killer and victim? LOL
PHP Code:
#include <amxmodx>
#include <csx>
#include <cstrike>
public plugin_init()
{
register_plugin("AL AKHBAR","0.0.1","SmileY");
}
public client_death(Killer,Victim,WeaponId,HitPlace,TK)
{
if(Killer == Victim && WeaponId == CSW_HEGRENADE)
{
new Name[32];
get_user_name(Victim,Name,charsmax(Name));
client_print(0,print_chat,"%s says: AL AKHBAR");
}
}
Not Tested
|
I already said that I want to use it with DeathMsg
|
|
|
|