Raised This Month: $ Target: $400
 0% 

headshot sound when doing headshot


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 07-30-2010 , 21:52   Re: headshot sound when doing headshot
Reply With Quote #1

Search the forums prior to requesting code.

Untested.
PHP Code:
public plugin_init()
{
    
register_event"DeathMsg" "EvDeathMsg" "a" "3=1" "4&knife" );    
}

public 
EvDeathMsg()
{
    static 
szKiller33 ] , szVictim33 ];
    new 
iKiller read_data);
    new 
iVictim read_data);

    
get_user_nameiKiller szKiller charsmaxszKiller ) );
    
get_user_nameiVictim szVictim charsmaxszVictim ) );
    
    
client_cmd"spk misc/headshot" );
    
client_printprint_chat "* %s killed %s with knife headshot!" szKiller szVictim );

__________________

Last edited by Bugsy; 07-30-2010 at 22:28.
Bugsy is offline
Reply



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 00:08.


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