Raised This Month: $ Target: $400
 0% 

Headshot Sound !


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Darksmith
Junior Member
Join Date: Jan 2013
Location: Morocco
Old 05-11-2013 , 07:43   Headshot Sound !
Reply With Quote #1

Hello Guys
I Tried To Use a Sound for Headshot (Bom Headshot) But it Dosn't work

Quote:
#include <amxmodx>


new const BoomHeadShot[] = "jbextreme/HS-darksmith.wav";

enum _eathMsg
{
Killer = 1,
Victim,
IsHeadShot,
WeaponName
}

public plugin_precache()
{

precache_sound( BoomHeadShot );
}

public plugin_init()
{

register_event( "DeathMsg" , "EvDeathMsg_Hs" , "a" , "3=1" );
}

public EvDeathMsg_Hs()
{

client_cmd( read_data( Killer ) , "spk %s" , BoomHeadShot );
set_hudmessage (255, 000, 000, -1.0, 0.61, 2, 0.02, 6.0, 0.01, 0.1, -1);
show_hudmessage(Victim, "HEADSHOT!");
set_hudmessage (255, 000, 000, -1.0, 0.61, 2, 0.02, 6.0, 0.01, 0.1, -1);
show_hudmessage(Killer, "HEADSHOT!");
}
Help Me pleise !
Darksmith is offline
Send a message via MSN to Darksmith
 


Thread Tools
Display Modes

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 16:22.


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