PDA

View Full Version : i need grenade ultimate sounds !


mahdi
01-12-2017, 19:22
hi i want grenade sound plugin

http://youtu.be/Uuf3ZeikEEE

like on this video any one can make this ?

EFFx
01-12-2017, 19:28
Tell me if have, servers with those sounds, download they, give me and I can make the plugin for you.

mahdi
01-13-2017, 03:34
ok wait

mahdi
01-13-2017, 03:37
thats ip

91.211.247.8

EFFx
01-13-2017, 17:46
Try


#include <amxmodx>
#include <fakemeta>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"

new const GrenadeThrowSounds[][] =
{
"radio/csgo/grenade01.wav",
"radio/csgo/grenade02.wav",
"radio/csgo/grenade03.wav",
"radio/csgo/grenade04.wav"
}

new const FlashThrowSounds[][] =
{
"radio/csgo/flashbang01.wav",
"radio/csgo/flashbang02.wav",
"radio/csgo/flashbang03.wav",
"radio/csgo/flashbang04.wav"
}

new const SmokeThrowSounds[][] =
{
"radio/csgo/smoke01.wav",
"radio/csgo/smoke02.wav",
"radio/csgo/smoke03.wav",
"radio/csgo/smoke04.wav"
}

new const FireInTheHoleSound[] = "%!MRAD_FIREINHOLE"

public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)

register_message(get_user_msgid("SendAudio"), "msgSendAudio")
}

public plugin_precache()
{
new i
for(i = 0;i < sizeof GrenadeThrowSounds;i++)
precache_sound(GrenadeThrowSounds[i])

for(i = 0;i < sizeof FlashThrowSounds;i++)
precache_sound(FlashThrowSounds[i])

for(i = 0;i < sizeof SmokeThrowSounds;i++)
precache_sound(SmokeThrowSounds[i])
}

public msgSendAudio(MsgId, MsgDest, MsgEntity)
{
new szMessage[32]
get_msg_arg_string(2, szMessage, charsmax(szMessage))

if(equal(szMessage, FireInTheHoleSound))
return PLUGIN_HANDLED

return PLUGIN_CONTINUE
}

public grenade_throw(id, grenIndex, weapIndex)
{
switch(weapIndex)
{
case CSW_HEGRENADE:
{
client_cmd(id,"spk ^"%s^"",GrenadeThrowSounds[random_num(0, sizeof GrenadeThrowSounds - 1)])
}
case CSW_FLASHBANG:
{
client_cmd(id,"spk ^"%s^"",FlashThrowSounds[random_num(0, sizeof FlashThrowSounds - 1)])
}
case CSW_SMOKEGRENADE:
{
client_cmd(id,"spk ^"%s^"",SmokeThrowSounds[random_num(0, sizeof SmokeThrowSounds - 1)])
}
}
}

mahdi
01-13-2017, 18:25
thanks so mach !

EFFx
01-13-2017, 18:40
Dude, that server you gave me is so funny. I like all skins there and i'm using they right now, thank you !

tarsisd2
01-14-2017, 09:15
you can also use

Advanced Quake Sounds
https://forums.alliedmods.net/showthread.php?t=152034

OciXCrom
01-14-2017, 09:55
you can also use

Advanced Quake Sounds
https://forums.alliedmods.net/showthread.php?t=152034

There's no such option in that plugin. This one has - https://forums.alliedmods.net/showthread.php?t=282686