Raised This Month: $ Target: $400
 0% 

Solved (HELP) Detect self grenade kill


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Question x Mark
Junior Member
Join Date: May 2018
Old 06-07-2018 , 14:13   Re: (HELP) Detect self grenade kill
Reply With Quote #4

Quote:
Originally Posted by ^SmileY View Post
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
Question x Mark is offline
 



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 04:40.


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