Raised This Month: $ Target: $400
 0% 

C4 sound (planted bomb)


Post New Thread Reply   
 
Thread Tools Display Modes
necox
Member
Join Date: Feb 2008
Old 02-05-2010 , 19:36   Re: C4 sound (planted bomb)
Reply With Quote #11

not working
__________________
necox is offline
bojidar4oto
Junior Member
Join Date: Oct 2011
Location: Lom,Bulgaria
Old 10-20-2011 , 12:19   Re: C4 sound (planted bomb)
Reply With Quote #12

It works for me fine.See if you meet these:
1.File name is "TheHornOfCenarius"
2.File type is .wav
2a.Frequency is 22050HZ
2b.Mono
3.File is in cstrike/sound/misc
NOTE:Files can crash server if over ~ 12MB and won't be stopped after bomb explodes!
You can download iWisoft Free Video Converter to convert file.Google it.
bojidar4oto is offline
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 10-20-2011 , 12:37   Re: C4 sound (planted bomb)
Reply With Quote #13

...2 years later...
__________________
joshknifer is offline
Send a message via Skype™ to joshknifer
bojidar4oto
Junior Member
Join Date: Oct 2011
Location: Lom,Bulgaria
Old 10-21-2011 , 07:19   Re: C4 sound (planted bomb)
Reply With Quote #14

Well yeah, I didn't saw it's archived, but still hope I am helpful
bojidar4oto is offline
akomismo
Member
Join Date: Aug 2012
Old 08-14-2012 , 08:26   Re: C4 sound (planted bomb)
Reply With Quote #15

Quote:
Originally Posted by Starsailor View Post
test this

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <csx>

#define PLUGIN "Bomb Sound"
#define VERSION "1.0"
#define AUTHOR "Starsailor"


forward bomb_planted(planter);



public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
}

public 
plugin_precache(){
    
precache_sound("misc/TheHornOfCenarius.wav")
}


public 
bomb_planted(id) {    
    new 
plantername[32]
    
get_user_name(id,plantername,31)
    
set_hudmessage(25500, -1.00.216.06.0)
    
show_hudmessage(0"%s has planted the bomb"plantername)
    
emit_sound(0,CHAN_AUTO,"misc/TheHornOfCenarius.wav",VOL_NORM,ATTN_NORM,0,PITCH_NORM);

thanks u

can u edit this one so that i can put 2 or more bomb sounds .. thanks
akomismo is offline
Dragos
Senior Member
Join Date: Oct 2018
Location: Romania
Old 11-10-2018 , 05:23   Re: C4 sound (planted bomb)
Reply With Quote #16

#include <amxmodx>
#include <csx>

new const plant[] = "misc/planting.wav";
new const defuse[] = "misc/defusing.wav";

public plugin_precache()
{
precache_sound(plant)
precache_sound(defuse)
}

public bomb_planting( id )
{
new name[32]
get_user_name(id, name, 31);

set_hudmessage( 18, 113, 255, -1.0, 0.1, 0, 6.0, 3.0)
show_hudmessage( 0, "%s is planting the bomb...", name );

client_cmd(0, "spk ^"%s^"", plant)
}

public bomb_defusing( id )
{
new name[32]
get_user_name(id, name, 31);

set_hudmessage( 255, 155, 50, -1.0, 0.1, 0, 6.0, 5.0)
show_hudmessage( 0, "%s is defusing the bomb...", name );

client_cmd(0, "spk ^"%s^"", defuse)
}
Dragos is offline
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 11-10-2018 , 05:57   Re: C4 sound (planted bomb)
Reply With Quote #17

Quote:
Originally Posted by Dragos View Post
#include <amxmodx>
#include <csx>

new const plant[] = "misc/planting.wav";
new const defuse[] = "misc/defusing.wav";

public plugin_precache()
{
precache_sound(plant)
precache_sound(defuse)
}

public bomb_planting( id )
{
new name[32]
get_user_name(id, name, 31);

set_hudmessage( 18, 113, 255, -1.0, 0.1, 0, 6.0, 3.0)
show_hudmessage( 0, "%s is planting the bomb...", name );

client_cmd(0, "spk ^"%s^"", plant)
}

public bomb_defusing( id )
{
new name[32]
get_user_name(id, name, 31);

set_hudmessage( 255, 155, 50, -1.0, 0.1, 0, 6.0, 5.0)
show_hudmessage( 0, "%s is defusing the bomb...", name );

client_cmd(0, "spk ^"%s^"", defuse)
}
Salute to this man
__________________
Relaxing 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 06:40.


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