Raised This Month: $ Target: $400
 0% 

Whats Wrong I had Done :(


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 10-18-2021 , 15:05   Whats Wrong I had Done :(
Reply With Quote #1

PHP Code:
public plugin_init()
{
   
register_plugin(PLUGINVERSIONAUTHOR);
   
RegisterHookChain(RG_CBasePlayer_Killed"CBasePlayer_Killed", .post 1)
}

public 
CBasePlayer_Killed(pevVictimpevAttacker)
{
    if(
is_user_connected(pevAttacker) || is_user_connected(pevVictim) || pevAttacker != pevVictim || get_member(pevAttackerm_iTeam) != get_member(pevVictimm_iTeam))
    {
        if(
rg_get_weaponbox_id(pevAttacker) == WEAPON_KNIFE)
        {
            new 
nAttackerMAX_NAME_LENGTH ], nVictimMAX_NAME_LENGTH ];
            
get_user_name(pevAttackernAttackercharsmax(nAttacker));
            
get_user_name(pevVictimnVictimcharsmax(nVictim));

            
client_print_color(00"%s ^3%s ^1Knifed ^3%s ^1LOL ^4Sharam Kar Le ^3:p"PREFIXnAttackernVictim);
        }
    }

__________________
Let's Help Each Other
soumyadip77 is offline
Send a message via Skype™ to soumyadip77
 



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 11:37.


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