+- Allied Modders en español (https://amxmodx-es.com)
+-- Foro: AMX Mod X - Plugins (https://amxmodx-es.com/Forum-AMX-Mod-X-Plugins)
+--- Foro: Pedido de Plugins (https://amxmodx-es.com/Forum-Pedido-de-Plugins)
+--- Tema: Skull Sounds (/Thread-Skull-Sounds--17913)
new g_Had_Skull3 new g_Skull3_Mode[33], g_Skull3_BPAmmo[33], g_Skull3_Clip[33], g_Skull3_Switching, g_Dropping[33] new g_MsgWeaponList, g_MsgCurWeapon new g_Event_Skull3S, g_Event_Skull3D, g_ShellId, g_SmokePuff_SprId new Bastard[1012]
public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR)
Cita:Ya que hay models (.mdl) que ya esta programado para sonar ese sound.
Talves aun te digas (¿como que el .mdl?). Sencillo, cuando uno crea un models o arma, uno le agrega los sound que quieren que reproduzca el models, ejemplo: shoot1 : sound/weapons/m4a1_unsil-1.wav o silencer_off: sound/weapons/m4a1_silencer_off.wav. Si un arma no le ponen los sound, este no sonara en el juego.
new g_Had_Skull3 new g_Skull3_Mode[33], g_Skull3_BPAmmo[33], g_Skull3_Clip[33], g_Skull3_Switching, g_Dropping[33] new g_MsgWeaponList, g_MsgCurWeapon new g_Event_Skull3S, g_Event_Skull3D, g_ShellId, g_SmokePuff_SprId new Bastard[1012]
public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR)
new g_Had_Skull3 new g_Skull3_Mode[33], g_Skull3_BPAmmo[33], g_Skull3_Clip[33], g_Skull3_Switching, g_Dropping[33] new g_MsgWeaponList, g_MsgCurWeapon new g_Event_Skull3S, g_Event_Skull3D, g_ShellId, g_SmokePuff_SprId new Bastard[1012]
public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR)
new suicidemess[][]= { "Hahaha Prefiero Suicidarse A Morir Peleando El Tipico Noob :/", "Hahaha Si Es Cagao El Suicidio Fue Su Ultima Opcion :/" }
new SND_PREPARE[] = "Skull_Sounds/gates.wav" new SND_FBLOOD[] = "Skull_Sounds/firstblood.wav" //new SND_HEAD[] = "Skull_Sounds/outstand.wav" new SND_HEAD[][] = { "Skull_Sounds/outstand.wav", "Skull_Sounds/survivor1.wav", "Skull_Sounds/survivor2.wav" }
new SND_KNIFE[] = "Skull_Sounds/NoLlores.wav" new SND_GRENADE[] = "Skull_Sounds/atravesadoo.wav" new SND_SUICIDE[][] = { "Skull_Sounds/mhaha.wav", "Skull_Sounds/mkscorplaugh.wav", "Skull_Sounds/mksklaugh.wav", "Skull_Sounds/mkstdanger.wav" } new SND_3K[] = "Skull_Sounds/alleasy.wav" new SND_4K[] = "Skull_Sounds/PapaDeLosHelados.wav" new SND_6K[] = "Skull_Sounds/notiembles.wav" new SND_8K[] = "Skull_Sounds/tremenda.wav" new SND_10K[] = "Skull_Sounds/ninas.wav" new SND_12K[] = "Skull_Sounds/notienesvida.wav" new SND_14K[] = "Skull_Sounds/madura.wav" new SND_15K[] = "Skull_Sounds/bala.wav" new SND_16K[] = "Skull_Sounds/te_rebuelco.wav" new SND_18K[] = "Skull_Sounds/animality.wav"
public round_start() { FirstBlood = false anuncio(0, PREPARE) }
public hm_spawn(id) { if(!is_user_connected(id)) return HAM_IGNORED
if(frags[id] > 1) client_print(id, print_chat, "[AMXX-ES] Tienes una buena racha, %i frags seguidos", frags[id]) else if(deaths[id] > 1) client_print(id, print_chat, "[AMXX-ES] Tienes una mala racha, %i muertes seguidos", deaths[id])
return HAM_IGNORED }
public anuncio(kid, mode) { new kname[33] get_user_name(kid, kname, 32)
if(mode == NORMAL) { new r = random(256) new g = random(256) new b = random(256) set_hudmessage(r,g,b, 0.05, 0.65, 2, 0.02, 6.0, 0.01, 0.1, 2); } else { new r = random_num(150,256) new g = random_num(0,100) new b = random_num(0,100) set_hudmessage(r, g, b, -1.0, 0.30, 1, 6.0, 6.0, 0.01, 0.1, 3); }
switch(mode) { case NORMAL: { switch(frags[kid]) {
case 3 : { show_hudmessage(0, "%s: All To Easy!!!", kname) PlaySound(SND_3K) } case 4 : { show_hudmessage(0, "%s: El Papa De Los Helados!!!", kname) PlaySound(SND_4K) } case 6 : { show_hudmessage(0, "%s: No Tiembles!!! ", kname) PlaySound(SND_6K) } case 8 : { show_hudmessage(0, "%s: Eres Tremenda Nena!!! ", kname) PlaySound(SND_8K) } case 10 : { show_hudmessage(0, "%s: Cuerdas De Niñas!!! ", kname) PlaySound(SND_10K) } case 12 : { show_hudmessage(0, "%s: No Tienes Vida!!! ", kname) PlaySound(SND_12K) } case 14 : { show_hudmessage(0, "%s: Madura Mente De Pollo!!! ", kname) PlaySound(SND_14K) } case 15 : { show_hudmessage(0, "%s: Dando Balazos!!! ", kname) PlaySound(SND_15K) } case 16: { show_hudmessage(0, "%s: Te Prometo Que Donde Yo Este Te Rebuelco!!! ", kname) PlaySound(SND_16K) } case 18 : { show_hudmessage(0, "%s: Grrr Animality!!! ", kname) PlaySound(SND_18K) }
} return PLUGIN_HANDLED } case GRENADE : { if(get_pcvar_num(g_pcvar_grenade) != 1) return PLUGIN_HANDLED show_hudmessage(0, "Siempre Atravesado Como El Miercoles Muahahahaha!!!") PlaySound(SND_GRENADE) } case HEADSHOT : { if(get_pcvar_num(g_pcvar_heashot) != 1) return PLUGIN_HANDLED show_hudmessage(0, " >*.::OuTsTaNdInG::.*< ") //PlaySound(SND_HEAD) PlaySound(SND_HEAD[random_num(0, sizeof SND_HEAD -1)]) } case KNIFE : { if(get_pcvar_num(g_pcvar_knife) != 1) return PLUGIN_HANDLED show_hudmessage(0, "No Llores Mi Niña Aqui Te Traje Tu Teterito Chupa Chupa Chupa muahahahaha!!!") PlaySound(SND_KNIFE) } case SUICIDE: { if(get_pcvar_num(g_pcvar_suicide) != 1) return PLUGIN_HANDLED show_hudmessage(0, suicidemess[random_num(0, sizeof suicidemess -1)]) PlaySound(SND_SUICIDE[random_num(0, sizeof SND_SUICIDE -1)]) } case FBLOOD: { if(get_pcvar_num(g_pcvar_firtblood) != 1) return PLUGIN_HANDLED show_hudmessage(0, " First Blood!!!") PlaySound(SND_FBLOOD) } case PREPARE: { if(get_pcvar_num(g_pcvar_prepare) != 1) return PLUGIN_HANDLED show_hudmessage(0, "The Gates Are Open") PlaySound(SND_PREPARE) } } return PLUGIN_HANDLED }
new suicidemess[][]= { "Hahaha Prefiero Suicidarse A Morir Peleando El Tipico Noob :/", "Hahaha Si Es Cagao El Suicidio Fue Su Ultima Opcion :/" }
new SND_PREPARE[] = "Skull_Sounds/gates.wav" new SND_FBLOOD[] = "Skull_Sounds/firstblood.wav" //new SND_HEAD[] = "Skull_Sounds/outstand.wav" new SND_HEAD[][] = { "Skull_Sounds/outstand.wav", "Skull_Sounds/nuevo_sonido.wav", "Skull_Sounds/nuevo_sonido.wav" }
//new SND_KNIFE[] = "Skull_Sounds/NoLlores.wav" new SND_KNIFE[][] = { "Skull_Sounds/NoLlores.wav", "Skull_Sounds/nuevo_sonido.wav", "Skull_Sounds/nuevo_sonido.wav" } new SND_GRENADE[] = "Skull_Sounds/atravesadoo.wav" new SND_SUICIDE[][] = { "Skull_Sounds/mhaha.wav", "Skull_Sounds/mkscorplaugh.wav", "Skull_Sounds/mksklaugh.wav", "Skull_Sounds/mkstdanger.wav" } new SND_3K[] = "Skull_Sounds/alleasy.wav" new SND_4K[] = "Skull_Sounds/PapaDeLosHelados.wav" new SND_6K[] = "Skull_Sounds/notiembles.wav" new SND_8K[] = "Skull_Sounds/tremenda.wav" new SND_10K[] = "Skull_Sounds/ninas.wav" new SND_12K[] = "Skull_Sounds/notienesvida.wav" new SND_14K[] = "Skull_Sounds/madura.wav" new SND_15K[] = "Skull_Sounds/bala.wav" new SND_16K[] = "Skull_Sounds/te_rebuelco.wav" new SND_18K[] = "Skull_Sounds/animality.wav"
public round_start() { FirstBlood = false anuncio(0, PREPARE) }
public hm_spawn(id) { if(!is_user_connected(id)) return HAM_IGNORED
if(frags[id] > 1) client_print(id, print_chat, "[AMXX-ES] Tienes una buena racha, %i frags seguidos", frags[id]) else if(deaths[id] > 1) client_print(id, print_chat, "[AMXX-ES] Tienes una mala racha, %i muertes seguidos", deaths[id])
return HAM_IGNORED }
public anuncio(kid, mode) { new kname[33] get_user_name(kid, kname, 32)
if(mode == NORMAL) { new r = random(256) new g = random(256) new b = random(256) set_hudmessage(r,g,b, 0.05, 0.65, 2, 0.02, 6.0, 0.01, 0.1, 2); } else { new r = random_num(150,256) new g = random_num(0,100) new b = random_num(0,100) set_hudmessage(r, g, b, -1.0, 0.30, 1, 6.0, 6.0, 0.01, 0.1, 3); }
switch(mode) { case NORMAL: { switch(frags[kid]) {
case 3 : { show_hudmessage(0, "%s: All To Easy!!!", kname) PlaySound(SND_3K) } case 4 : { show_hudmessage(0, "%s: El Papa De Los Helados!!!", kname) PlaySound(SND_4K) } case 6 : { show_hudmessage(0, "%s: No Tiembles!!! ", kname) PlaySound(SND_6K) } case 8 : { show_hudmessage(0, "%s: Eres Tremenda Nena!!! ", kname) PlaySound(SND_8K) } case 10 : { show_hudmessage(0, "%s: Cuerdas De Niñas!!! ", kname) PlaySound(SND_10K) } case 12 : { show_hudmessage(0, "%s: No Tienes Vida!!! ", kname) PlaySound(SND_12K) } case 14 : { show_hudmessage(0, "%s: Madura Mente De Pollo!!! ", kname) PlaySound(SND_14K) } case 15 : { show_hudmessage(0, "%s: Dando Balazos!!! ", kname) PlaySound(SND_15K) } case 16: { show_hudmessage(0, "%s: Te Prometo Que Donde Yo Este Te Rebuelco!!! ", kname) PlaySound(SND_16K) } case 18 : { show_hudmessage(0, "%s: Grrr Animality!!! ", kname) PlaySound(SND_18K) }
} return PLUGIN_HANDLED } case GRENADE : { if(get_pcvar_num(g_pcvar_grenade) != 1) return PLUGIN_HANDLED show_hudmessage(0, "Siempre Atravesado Como El Miercoles Muahahahaha!!!") PlaySound(SND_GRENADE) } case HEADSHOT : { if(get_pcvar_num(g_pcvar_heashot) != 1) return PLUGIN_HANDLED show_hudmessage(0, " >*.::OuTsTaNdInG::.*< ") //PlaySound(SND_HEAD) PlaySound(SND_HEAD[random_num(0, sizeof SND_HEAD -1)]) } case KNIFE : { if(get_pcvar_num(g_pcvar_knife) != 1) return PLUGIN_HANDLED show_hudmessage(0, "No Llores Mi Niña Aqui Te Traje Tu Teterito Chupa Chupa Chupa muahahahaha!!!") //PlaySound(SND_KNIFE) PlaySound(SND_KNIFE[random_num(0, sizeof SND_KNIFE -1)]) } case SUICIDE: { if(get_pcvar_num(g_pcvar_suicide) != 1) return PLUGIN_HANDLED show_hudmessage(0, suicidemess[random_num(0, sizeof suicidemess -1)]) PlaySound(SND_SUICIDE[random_num(0, sizeof SND_SUICIDE -1)]) } case FBLOOD: { if(get_pcvar_num(g_pcvar_firtblood) != 1) return PLUGIN_HANDLED show_hudmessage(0, " First Blood!!!") PlaySound(SND_FBLOOD) } case PREPARE: { if(get_pcvar_num(g_pcvar_prepare) != 1) return PLUGIN_HANDLED show_hudmessage(0, "The Gates Are Open") PlaySound(SND_PREPARE) } } return PLUGIN_HANDLED }
new suicidemess[][]= { "Hahaha Prefiero Suicidarse A Morir Peleando El Tipico Noob :/", "Hahaha Si Es Cagao El Suicidio Fue Su Ultima Opcion :/" }
new SND_PREPARE[] = "Skull_Sounds/gates.wav" new SND_FBLOOD[] = "Skull_Sounds/firstblood.wav" //new SND_HEAD[] = "Skull_Sounds/outstand.wav" new SND_HEAD[][] = { "Skull_Sounds/outstand.wav", "Skull_Sounds/survivor1.wav", "Skull_Sounds/survivor2.wav" }
new SND_KNIFE[] = "Skull_Sounds/NoLlores.wav" new SND_GRENADE[] = "Skull_Sounds/atravesadoo.wav" new SND_SUICIDE[][] = { "Skull_Sounds/mhaha.wav", "Skull_Sounds/mkscorplaugh.wav", "Skull_Sounds/mksklaugh.wav", "Skull_Sounds/mkstdanger.wav" } new SND_3K[] = "Skull_Sounds/alleasy.wav" new SND_4K[] = "Skull_Sounds/PapaDeLosHelados.wav" new SND_6K[] = "Skull_Sounds/notiembles.wav" new SND_8K[] = "Skull_Sounds/tremenda.wav" new SND_10K[] = "Skull_Sounds/ninas.wav" new SND_12K[] = "Skull_Sounds/notienesvida.wav" new SND_14K[] = "Skull_Sounds/madura.wav" new SND_15K[] = "Skull_Sounds/bala.wav" new SND_16K[] = "Skull_Sounds/te_rebuelco.wav" new SND_18K[] = "Skull_Sounds/animality.wav"
public round_start() { FirstBlood = false anuncio(0, PREPARE) }
public hm_spawn(id) { if(!is_user_connected(id)) return HAM_IGNORED
if(frags[id] > 1) client_print(id, print_chat, "[AMXX-ES] Tienes una buena racha, %i frags seguidos", frags[id]) else if(deaths[id] > 1) client_print(id, print_chat, "[AMXX-ES] Tienes una mala racha, %i muertes seguidos", deaths[id])
return HAM_IGNORED }
public anuncio(kid, mode) { new kname[33] get_user_name(kid, kname, 32)
if(mode == NORMAL) { new r = random(256) new g = random(256) new b = random(256) set_hudmessage(r,g,b, 0.05, 0.65, 2, 0.02, 6.0, 0.01, 0.1, 2); } else { new r = random_num(150,256) new g = random_num(0,100) new b = random_num(0,100) set_hudmessage(r, g, b, -1.0, 0.30, 1, 6.0, 6.0, 0.01, 0.1, 3); }
switch(mode) { case NORMAL: { switch(frags[kid]) {
case 3 : { show_hudmessage(0, "%s: All To Easy!!!", kname) PlaySound(SND_3K) } case 4 : { show_hudmessage(0, "%s: El Papa De Los Helados!!!", kname) PlaySound(SND_4K) } case 6 : { show_hudmessage(0, "%s: No Tiembles!!! ", kname) PlaySound(SND_6K) } case 8 : { show_hudmessage(0, "%s: Eres Tremenda Nena!!! ", kname) PlaySound(SND_8K) } case 10 : { show_hudmessage(0, "%s: Cuerdas De Niñas!!! ", kname) PlaySound(SND_10K) } case 12 : { show_hudmessage(0, "%s: No Tienes Vida!!! ", kname) PlaySound(SND_12K) } case 14 : { show_hudmessage(0, "%s: Madura Mente De Pollo!!! ", kname) PlaySound(SND_14K) } case 15 : { show_hudmessage(0, "%s: Dando Balazos!!! ", kname) PlaySound(SND_15K) } case 16: { show_hudmessage(0, "%s: Te Prometo Que Donde Yo Este Te Rebuelco!!! ", kname) PlaySound(SND_16K) } case 18 : { show_hudmessage(0, "%s: Grrr Animality!!! ", kname) PlaySound(SND_18K) }
} return PLUGIN_HANDLED } case GRENADE : { if(get_pcvar_num(g_pcvar_grenade) != 1) return PLUGIN_HANDLED show_hudmessage(0, "Siempre Atravesado Como El Miercoles Muahahahaha!!!") PlaySound(SND_GRENADE) } case HEADSHOT : { if(get_pcvar_num(g_pcvar_heashot) != 1) return PLUGIN_HANDLED show_hudmessage(0, " >*.::OuTsTaNdInG::.*< ") //PlaySound(SND_HEAD) PlaySound(SND_HEAD[random_num(0, sizeof SND_HEAD -1)]) } case KNIFE : { if(get_pcvar_num(g_pcvar_knife) != 1) return PLUGIN_HANDLED show_hudmessage(0, "No Llores Mi Niña Aqui Te Traje Tu Teterito Chupa Chupa Chupa muahahahaha!!!") PlaySound(SND_KNIFE) } case SUICIDE: { if(get_pcvar_num(g_pcvar_suicide) != 1) return PLUGIN_HANDLED show_hudmessage(0, suicidemess[random_num(0, sizeof suicidemess -1)]) PlaySound(SND_SUICIDE[random_num(0, sizeof SND_SUICIDE -1)]) } case FBLOOD: { if(get_pcvar_num(g_pcvar_firtblood) != 1) return PLUGIN_HANDLED show_hudmessage(0, " First Blood!!!") PlaySound(SND_FBLOOD) } case PREPARE: { if(get_pcvar_num(g_pcvar_prepare) != 1) return PLUGIN_HANDLED show_hudmessage(0, "The Gates Are Open") PlaySound(SND_PREPARE) } } return PLUGIN_HANDLED }
new suicidemess[][]= { "Hahaha Prefiero Suicidarse A Morir Peleando El Tipico Noob :/", "Hahaha Si Es Cagao El Suicidio Fue Su Ultima Opcion :/" }
new SND_PREPARE[] = "Skull_Sounds/gates.wav" new SND_FBLOOD[] = "Skull_Sounds/firstblood.wav" //new SND_HEAD[] = "Skull_Sounds/outstand.wav" new SND_HEAD[][] = { "Skull_Sounds/outstand.wav", "Skull_Sounds/nuevo_sonido.wav", "Skull_Sounds/nuevo_sonido.wav" }
//new SND_KNIFE[] = "Skull_Sounds/NoLlores.wav" new SND_KNIFE[][] = { "Skull_Sounds/NoLlores.wav", "Skull_Sounds/nuevo_sonido.wav", "Skull_Sounds/nuevo_sonido.wav" } new SND_GRENADE[] = "Skull_Sounds/atravesadoo.wav" new SND_SUICIDE[][] = { "Skull_Sounds/mhaha.wav", "Skull_Sounds/mkscorplaugh.wav", "Skull_Sounds/mksklaugh.wav", "Skull_Sounds/mkstdanger.wav" } new SND_3K[] = "Skull_Sounds/alleasy.wav" new SND_4K[] = "Skull_Sounds/PapaDeLosHelados.wav" new SND_6K[] = "Skull_Sounds/notiembles.wav" new SND_8K[] = "Skull_Sounds/tremenda.wav" new SND_10K[] = "Skull_Sounds/ninas.wav" new SND_12K[] = "Skull_Sounds/notienesvida.wav" new SND_14K[] = "Skull_Sounds/madura.wav" new SND_15K[] = "Skull_Sounds/bala.wav" new SND_16K[] = "Skull_Sounds/te_rebuelco.wav" new SND_18K[] = "Skull_Sounds/animality.wav"
public round_start() { FirstBlood = false anuncio(0, PREPARE) }
public hm_spawn(id) { if(!is_user_connected(id)) return HAM_IGNORED
if(frags[id] > 1) client_print(id, print_chat, "[AMXX-ES] Tienes una buena racha, %i frags seguidos", frags[id]) else if(deaths[id] > 1) client_print(id, print_chat, "[AMXX-ES] Tienes una mala racha, %i muertes seguidos", deaths[id])
return HAM_IGNORED }
public anuncio(kid, mode) { new kname[33] get_user_name(kid, kname, 32)
if(mode == NORMAL) { new r = random(256) new g = random(256) new b = random(256) set_hudmessage(r,g,b, 0.05, 0.65, 2, 0.02, 6.0, 0.01, 0.1, 2); } else { new r = random_num(150,256) new g = random_num(0,100) new b = random_num(0,100) set_hudmessage(r, g, b, -1.0, 0.30, 1, 6.0, 6.0, 0.01, 0.1, 3); }
switch(mode) { case NORMAL: { switch(frags[kid]) {
case 3 : { show_hudmessage(0, "%s: All To Easy!!!", kname) PlaySound(SND_3K) } case 4 : { show_hudmessage(0, "%s: El Papa De Los Helados!!!", kname) PlaySound(SND_4K) } case 6 : { show_hudmessage(0, "%s: No Tiembles!!! ", kname) PlaySound(SND_6K) } case 8 : { show_hudmessage(0, "%s: Eres Tremenda Nena!!! ", kname) PlaySound(SND_8K) } case 10 : { show_hudmessage(0, "%s: Cuerdas De Niñas!!! ", kname) PlaySound(SND_10K) } case 12 : { show_hudmessage(0, "%s: No Tienes Vida!!! ", kname) PlaySound(SND_12K) } case 14 : { show_hudmessage(0, "%s: Madura Mente De Pollo!!! ", kname) PlaySound(SND_14K) } case 15 : { show_hudmessage(0, "%s: Dando Balazos!!! ", kname) PlaySound(SND_15K) } case 16: { show_hudmessage(0, "%s: Te Prometo Que Donde Yo Este Te Rebuelco!!! ", kname) PlaySound(SND_16K) } case 18 : { show_hudmessage(0, "%s: Grrr Animality!!! ", kname) PlaySound(SND_18K) }
} return PLUGIN_HANDLED } case GRENADE : { if(get_pcvar_num(g_pcvar_grenade) != 1) return PLUGIN_HANDLED show_hudmessage(0, "Siempre Atravesado Como El Miercoles Muahahahaha!!!") PlaySound(SND_GRENADE) } case HEADSHOT : { if(get_pcvar_num(g_pcvar_heashot) != 1) return PLUGIN_HANDLED show_hudmessage(0, " >*.::OuTsTaNdInG::.*< ") //PlaySound(SND_HEAD) PlaySound(SND_HEAD[random_num(0, sizeof SND_HEAD -1)]) } case KNIFE : { if(get_pcvar_num(g_pcvar_knife) != 1) return PLUGIN_HANDLED show_hudmessage(0, "No Llores Mi Niña Aqui Te Traje Tu Teterito Chupa Chupa Chupa muahahahaha!!!") //PlaySound(SND_KNIFE) PlaySound(SND_KNIFE[random_num(0, sizeof SND_KNIFE -1)]) } case SUICIDE: { if(get_pcvar_num(g_pcvar_suicide) != 1) return PLUGIN_HANDLED show_hudmessage(0, suicidemess[random_num(0, sizeof suicidemess -1)]) PlaySound(SND_SUICIDE[random_num(0, sizeof SND_SUICIDE -1)]) } case FBLOOD: { if(get_pcvar_num(g_pcvar_firtblood) != 1) return PLUGIN_HANDLED show_hudmessage(0, " First Blood!!!") PlaySound(SND_FBLOOD) } case PREPARE: { if(get_pcvar_num(g_pcvar_prepare) != 1) return PLUGIN_HANDLED show_hudmessage(0, "The Gates Are Open") PlaySound(SND_PREPARE) } } return PLUGIN_HANDLED }
new suicidemess[][]= { "Hahaha Prefiero Suicidarse A Morir Peleando El Tipico Noob :/", "Hahaha Si Es Cagao El Suicidio Fue Su Ultima Opcion :/" }
new SND_PREPARE[] = "Skull_Sounds/gates.wav" new SND_FBLOOD[] = "Skull_Sounds/firstblood.wav" //new SND_HEAD[] = "Skull_Sounds/outstand.wav" new SND_HEAD[][] = { "Skull_Sounds/outstand.wav", "Skull_Sounds/survivor1.wav", "Skull_Sounds/survivor2.wav" }
new SND_KNIFE[] = "Skull_Sounds/NoLlores.wav" new SND_GRENADE[] = "Skull_Sounds/atravesadoo.wav" new SND_SUICIDE[][] = { "Skull_Sounds/mhaha.wav", "Skull_Sounds/mkscorplaugh.wav", "Skull_Sounds/mksklaugh.wav", "Skull_Sounds/mkstdanger.wav" } new SND_3K[] = "Skull_Sounds/alleasy.wav" new SND_4K[] = "Skull_Sounds/PapaDeLosHelados.wav" new SND_6K[] = "Skull_Sounds/notiembles.wav" new SND_8K[] = "Skull_Sounds/tremenda.wav" new SND_10K[] = "Skull_Sounds/ninas.wav" new SND_12K[] = "Skull_Sounds/notienesvida.wav" new SND_14K[] = "Skull_Sounds/madura.wav" new SND_15K[] = "Skull_Sounds/bala.wav" new SND_16K[] = "Skull_Sounds/te_rebuelco.wav" new SND_18K[] = "Skull_Sounds/animality.wav"
public round_start() { FirstBlood = false anuncio(0, PREPARE) }
public hm_spawn(id) { if(!is_user_connected(id)) return HAM_IGNORED
if(frags[id] > 1) client_print(id, print_chat, "[AMXX-ES] Tienes una buena racha, %i frags seguidos", frags[id]) else if(deaths[id] > 1) client_print(id, print_chat, "[AMXX-ES] Tienes una mala racha, %i muertes seguidos", deaths[id])
return HAM_IGNORED }
public anuncio(kid, mode) { new kname[33] get_user_name(kid, kname, 32)
if(mode == NORMAL) { new r = random(256) new g = random(256) new b = random(256) set_hudmessage(r,g,b, 0.05, 0.65, 2, 0.02, 6.0, 0.01, 0.1, 2); } else { new r = random_num(150,256) new g = random_num(0,100) new b = random_num(0,100) set_hudmessage(r, g, b, -1.0, 0.30, 1, 6.0, 6.0, 0.01, 0.1, 3); }
switch(mode) { case NORMAL: { switch(frags[kid]) {
case 3 : { show_hudmessage(0, "%s: All To Easy!!!", kname) PlaySound(SND_3K) } case 4 : { show_hudmessage(0, "%s: El Papa De Los Helados!!!", kname) PlaySound(SND_4K) } case 6 : { show_hudmessage(0, "%s: No Tiembles!!! ", kname) PlaySound(SND_6K) } case 8 : { show_hudmessage(0, "%s: Eres Tremenda Nena!!! ", kname) PlaySound(SND_8K) } case 10 : { show_hudmessage(0, "%s: Cuerdas De Niñas!!! ", kname) PlaySound(SND_10K) } case 12 : { show_hudmessage(0, "%s: No Tienes Vida!!! ", kname) PlaySound(SND_12K) } case 14 : { show_hudmessage(0, "%s: Madura Mente De Pollo!!! ", kname) PlaySound(SND_14K) } case 15 : { show_hudmessage(0, "%s: Dando Balazos!!! ", kname) PlaySound(SND_15K) } case 16: { show_hudmessage(0, "%s: Te Prometo Que Donde Yo Este Te Rebuelco!!! ", kname) PlaySound(SND_16K) } case 18 : { show_hudmessage(0, "%s: Grrr Animality!!! ", kname) PlaySound(SND_18K) }
} return PLUGIN_HANDLED } case GRENADE : { if(get_pcvar_num(g_pcvar_grenade) != 1) return PLUGIN_HANDLED show_hudmessage(0, "Siempre Atravesado Como El Miercoles Muahahahaha!!!") PlaySound(SND_GRENADE) } case HEADSHOT : { if(get_pcvar_num(g_pcvar_heashot) != 1) return PLUGIN_HANDLED show_hudmessage(0, " >*.::OuTsTaNdInG::.*< ") //PlaySound(SND_HEAD) PlaySound(SND_HEAD[random_num(0, sizeof SND_HEAD -1)]) } case KNIFE : { if(get_pcvar_num(g_pcvar_knife) != 1) return PLUGIN_HANDLED show_hudmessage(0, "No Llores Mi Niña Aqui Te Traje Tu Teterito Chupa Chupa Chupa muahahahaha!!!") PlaySound(SND_KNIFE) } case SUICIDE: { if(get_pcvar_num(g_pcvar_suicide) != 1) return PLUGIN_HANDLED show_hudmessage(0, suicidemess[random_num(0, sizeof suicidemess -1)]) PlaySound(SND_SUICIDE[random_num(0, sizeof SND_SUICIDE -1)]) } case FBLOOD: { if(get_pcvar_num(g_pcvar_firtblood) != 1) return PLUGIN_HANDLED show_hudmessage(0, " First Blood!!!") PlaySound(SND_FBLOOD) } case PREPARE: { if(get_pcvar_num(g_pcvar_prepare) != 1) return PLUGIN_HANDLED show_hudmessage(0, "The Gates Are Open") PlaySound(SND_PREPARE) } } return PLUGIN_HANDLED }
new suicidemess[][]= { "Hahaha Prefiero Suicidarse A Morir Peleando El Tipico Noob :/", "Hahaha Si Es Cagao El Suicidio Fue Su Ultima Opcion :/" }
new SND_PREPARE[] = "Skull_Sounds/gates.wav" new SND_FBLOOD[] = "Skull_Sounds/firstblood.wav" //new SND_HEAD[] = "Skull_Sounds/outstand.wav" new SND_HEAD[][] = { "Skull_Sounds/outstand.wav", "Skull_Sounds/nuevo_sonido.wav", "Skull_Sounds/nuevo_sonido.wav" }
//new SND_KNIFE[] = "Skull_Sounds/NoLlores.wav" new SND_KNIFE[][] = { "Skull_Sounds/NoLlores.wav", "Skull_Sounds/nuevo_sonido.wav", "Skull_Sounds/nuevo_sonido.wav" } new SND_GRENADE[] = "Skull_Sounds/atravesadoo.wav" new SND_SUICIDE[][] = { "Skull_Sounds/mhaha.wav", "Skull_Sounds/mkscorplaugh.wav", "Skull_Sounds/mksklaugh.wav", "Skull_Sounds/mkstdanger.wav" } new SND_3K[] = "Skull_Sounds/alleasy.wav" new SND_4K[] = "Skull_Sounds/PapaDeLosHelados.wav" new SND_6K[] = "Skull_Sounds/notiembles.wav" new SND_8K[] = "Skull_Sounds/tremenda.wav" new SND_10K[] = "Skull_Sounds/ninas.wav" new SND_12K[] = "Skull_Sounds/notienesvida.wav" new SND_14K[] = "Skull_Sounds/madura.wav" new SND_15K[] = "Skull_Sounds/bala.wav" new SND_16K[] = "Skull_Sounds/te_rebuelco.wav" new SND_18K[] = "Skull_Sounds/animality.wav"
public round_start() { FirstBlood = false anuncio(0, PREPARE) }
public hm_spawn(id) { if(!is_user_connected(id)) return HAM_IGNORED
if(frags[id] > 1) client_print(id, print_chat, "[AMXX-ES] Tienes una buena racha, %i frags seguidos", frags[id]) else if(deaths[id] > 1) client_print(id, print_chat, "[AMXX-ES] Tienes una mala racha, %i muertes seguidos", deaths[id])
return HAM_IGNORED }
public anuncio(kid, mode) { new kname[33] get_user_name(kid, kname, 32)
if(mode == NORMAL) { new r = random(256) new g = random(256) new b = random(256) set_hudmessage(r,g,b, 0.05, 0.65, 2, 0.02, 6.0, 0.01, 0.1, 2); } else { new r = random_num(150,256) new g = random_num(0,100) new b = random_num(0,100) set_hudmessage(r, g, b, -1.0, 0.30, 1, 6.0, 6.0, 0.01, 0.1, 3); }
switch(mode) { case NORMAL: { switch(frags[kid]) {
case 3 : { show_hudmessage(0, "%s: All To Easy!!!", kname) PlaySound(SND_3K) } case 4 : { show_hudmessage(0, "%s: El Papa De Los Helados!!!", kname) PlaySound(SND_4K) } case 6 : { show_hudmessage(0, "%s: No Tiembles!!! ", kname) PlaySound(SND_6K) } case 8 : { show_hudmessage(0, "%s: Eres Tremenda Nena!!! ", kname) PlaySound(SND_8K) } case 10 : { show_hudmessage(0, "%s: Cuerdas De Niñas!!! ", kname) PlaySound(SND_10K) } case 12 : { show_hudmessage(0, "%s: No Tienes Vida!!! ", kname) PlaySound(SND_12K) } case 14 : { show_hudmessage(0, "%s: Madura Mente De Pollo!!! ", kname) PlaySound(SND_14K) } case 15 : { show_hudmessage(0, "%s: Dando Balazos!!! ", kname) PlaySound(SND_15K) } case 16: { show_hudmessage(0, "%s: Te Prometo Que Donde Yo Este Te Rebuelco!!! ", kname) PlaySound(SND_16K) } case 18 : { show_hudmessage(0, "%s: Grrr Animality!!! ", kname) PlaySound(SND_18K) }
} return PLUGIN_HANDLED } case GRENADE : { if(get_pcvar_num(g_pcvar_grenade) != 1) return PLUGIN_HANDLED show_hudmessage(0, "Siempre Atravesado Como El Miercoles Muahahahaha!!!") PlaySound(SND_GRENADE) } case HEADSHOT : { if(get_pcvar_num(g_pcvar_heashot) != 1) return PLUGIN_HANDLED show_hudmessage(0, " >*.::OuTsTaNdInG::.*< ") //PlaySound(SND_HEAD) PlaySound(SND_HEAD[random_num(0, sizeof SND_HEAD -1)]) } case KNIFE : { if(get_pcvar_num(g_pcvar_knife) != 1) return PLUGIN_HANDLED show_hudmessage(0, "No Llores Mi Niña Aqui Te Traje Tu Teterito Chupa Chupa Chupa muahahahaha!!!") //PlaySound(SND_KNIFE) PlaySound(SND_KNIFE[random_num(0, sizeof SND_KNIFE -1)]) } case SUICIDE: { if(get_pcvar_num(g_pcvar_suicide) != 1) return PLUGIN_HANDLED show_hudmessage(0, suicidemess[random_num(0, sizeof suicidemess -1)]) PlaySound(SND_SUICIDE[random_num(0, sizeof SND_SUICIDE -1)]) } case FBLOOD: { if(get_pcvar_num(g_pcvar_firtblood) != 1) return PLUGIN_HANDLED show_hudmessage(0, " First Blood!!!") PlaySound(SND_FBLOOD) } case PREPARE: { if(get_pcvar_num(g_pcvar_prepare) != 1) return PLUGIN_HANDLED show_hudmessage(0, "The Gates Are Open") PlaySound(SND_PREPARE) } } return PLUGIN_HANDLED }
new SND_PREPARE[] = "Skull_Sounds/gates.wav" new SND_FBLOOD[] = "Skull_Sounds/firstblood.wav" //new SND_HEAD[] = "Skull_Sounds/outstand.wav" new SND_HEAD[][] = { "Skull_Sounds/outstand.wav", "Skull_Sounds/nuevo_sonido.wav", "Skull_Sounds/nuevo_sonido.wav" }
//new SND_KNIFE[] = "Skull_Sounds/NoLlores.wav" new SND_KNIFE[][] = { "Skull_Sounds/NoLlores.wav", "Skull_Sounds/nuevo_sonido.wav", "Skull_Sounds/nuevo_sonido.wav" } new SND_GRENADE[] = "Skull_Sounds/atravesadoo.wav" new SND_SUICIDE[][] = { "Skull_Sounds/mhaha.wav", "Skull_Sounds/mkscorplaugh.wav", "Skull_Sounds/mksklaugh.wav", "Skull_Sounds/mkstdanger.wav" } new SND_3K[] = "Skull_Sounds/alleasy.wav" new SND_4K[] = "Skull_Sounds/PapaDeLosHelados.wav" new SND_6K[] = "Skull_Sounds/notiembles.wav" new SND_8K[] = "Skull_Sounds/tremenda.wav" new SND_10K[] = "Skull_Sounds/ninas.wav" new SND_12K[] = "Skull_Sounds/notienesvida.wav" new SND_14K[] = "Skull_Sounds/madura.wav" new SND_15K[] = "Skull_Sounds/bala.wav" new SND_16K[] = "Skull_Sounds/te_rebuelco.wav" new SND_18K[] = "Skull_Sounds/animality.wav"
en esta parte, agregas los sonidos nuevos, busca en que evento quieres agregarlo,
aqui:
Código PHP:
//new SND_KNIFE[] = "Skull_Sounds/NoLlores.wav" asi estaba antes new SND_KNIFE[][] = { "Skull_Sounds/NoLlores.wav", "Skull_Sounds/nuevo_sonido.wav", "Skull_Sounds/nuevo_sonido.wav" //donde dice nuevo_sonido.wav agrega el nombre de tu sonido y este se agregara cuando mates con KNIFE (CUCHILLO) asi con head y tal. }
con el headshot es igual busca la linea del head
Código PHP:
//new SND_HEAD[] = "Skull_Sounds/outstand.wav" asi estaba antes new SND_HEAD[][] = { "Skull_Sounds/outstand.wav", "Skull_Sounds/nuevo_sonido.wav", "Skull_Sounds/nuevo_sonido.wav" /* asi te lo dejo renga, haz lo mismo que con el Knife. Mas facil no te lo pudo dejar, nadamas de agregarle el nombre del sonido*\ }