Categoria cu cereri de pluginuri si nu numai.
Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com
-
pgvd
- Membru, skill 0
- Posts: 0
- Joined: 15 Dec 2013, 23:15
- Detinator Steam: Da
- Has thanked: 36 times
- Been thanked: 1 time
-
Contact:
24 Jan 2014, 00:17
Merge.. dar daca te rog poti sa scoti acel mesaj cand faci kill cu grenada?
-
cyby
- Scripter eXtreamCS
- Posts: 0
- Joined: 16 Jul 2011, 21:46
- Detinator Steam: Da
- Detinator server CS: Da
- Reputatie: Scripter eXtreamCS
Fost Moderator ajutator
- Has thanked: 146 times
- Been thanked: 396 times
24 Jan 2014, 00:21
pgvd wrote:Merge.. dar daca te rog poti sa scoti acel mesaj cand faci kill cu grenada?
- | Afiseaza codul
#include <amxmodx>
#include <csx>
new const witch_sound[] = "misc/witch.wav";
public plugin_precache()
precache_sound(witch_sound)
public client_death(atacator, victima, arma)
{
if(arma == CSW_C4)
return;
if(atacator == victima)
return;
if(!is_user_connected(atacator))
return;
if(arma == CSW_HEGRENADE)
client_cmd(0, "spk ^"%s^"", witch_sound)
}
93.114.82.17:27015 - Monster Invasion CO-OP Mod
-
mr.f3lyx
- Membru, skill 0
- Posts: 0
- Joined: 10 Nov 2013, 20:24
- Detinator Steam: Da
- Location: Palermo, Italy
- Has thanked: 69 times
- Been thanked: 17 times
24 Jan 2014, 00:33
La pluginul asta poti adauga si asta cu grenada ?
- Sma | Afiseaza codul
#include <amxmodx>
#define SND_headshot "misc/headshot.wav"
#define SND_humiliation "misc/humiliation.wav"
public plugin_init()
{
register_plugin("Headshot & Humiliation sounds", "0.1", "x")
register_event("DeathMsg", "event_death", "ae")
}
public plugin_precache()
{
precache_sound(SND_headshot)
precache_sound(SND_humiliation)
}
public event_death()
{
new hs = read_data(3)
new weapon[24]
read_data(4, weapon, 23)
if(equal(weapon, "knife"))
{
client_cmd(0, "spk ^"%s^"", SND_humiliation)
}
else if(hs)
{
client_cmd(0, "spk ^"%s^"", SND_headshot)
}
}
-
cyby
- Scripter eXtreamCS
- Posts: 0
- Joined: 16 Jul 2011, 21:46
- Detinator Steam: Da
- Detinator server CS: Da
- Reputatie: Scripter eXtreamCS
Fost Moderator ajutator
- Has thanked: 146 times
- Been thanked: 396 times
24 Jan 2014, 00:54
La cel cu mesaj sau fara?
93.114.82.17:27015 - Monster Invasion CO-OP Mod
-
cyby
- Scripter eXtreamCS
- Posts: 0
- Joined: 16 Jul 2011, 21:46
- Detinator Steam: Da
- Detinator server CS: Da
- Reputatie: Scripter eXtreamCS
Fost Moderator ajutator
- Has thanked: 146 times
- Been thanked: 396 times
24 Jan 2014, 00:59
- | Afiseaza codul
#include <amxmodx>
#include <csx>
new const killed_sounds[][] =
{
"misc/witch.wav",
"misc/headshot.wav",
"misc/humiliation.wav"
}
public plugin_precache()
for(new i = 0; i < sizeof killed_sounds; i++)
precache_sound(killed_sounds)
public client_death(atacator, victima, arma, tinta)
{
if(atacator == victima)
return;
if(!is_user_connected(atacator))
return;
if(arma == CSW_HEGRENADE)
client_cmd(0, "spk ^"%s^"", killed_sounds[0])
if(arma == CSW_KNIFE)
client_cmd(0, "spk ^"%s^"", killed_sounds[2])
else if(tinta == HIT_HEAD)
client_cmd(0, "spk ^"%s^"", killed_sounds[1])
}
93.114.82.17:27015 - Monster Invasion CO-OP Mod
-
mr.f3lyx
- Membru, skill 0
- Posts: 0
- Joined: 10 Nov 2013, 20:24
- Detinator Steam: Da
- Location: Palermo, Italy
- Has thanked: 69 times
- Been thanked: 17 times
24 Jan 2014, 19:24
Poti face o modificare la el ? ca se aude haotic pe server toti dau headshot dacai putea sa se auda sunetul numai la victima si la atacator ? restru sa nu auda ca x a luat headshot ^:)^ ^:)^ ^:)^
-
mr.f3lyx
- Membru, skill 0
- Posts: 0
- Joined: 10 Nov 2013, 20:24
- Detinator Steam: Da
- Location: Palermo, Italy
- Has thanked: 69 times
- Been thanked: 17 times
-
cyby
- Scripter eXtreamCS
- Posts: 0
- Joined: 16 Jul 2011, 21:46
- Detinator Steam: Da
- Detinator server CS: Da
- Reputatie: Scripter eXtreamCS
Fost Moderator ajutator
- Has thanked: 146 times
- Been thanked: 396 times
25 Jan 2014, 11:52
- | Afiseaza codul
#include <amxmodx>
#include <csx>
new const killed_sounds[][] =
{
"misc/witch.wav",
"misc/headshot.wav",
"misc/humiliation.wav"
}
public plugin_precache()
for(new i = 0; i < sizeof killed_sounds; i++)
precache_sound(killed_sounds)
public client_death(atacator, victima, arma, tinta)
{
if(atacator == victima)
return;
if(!is_user_connected(atacator))
return;
if(arma == CSW_HEGRENADE)
{
client_cmd(atacator, "spk ^"%s^"", killed_sounds[0])
client_cmd(victima, "spk ^"%s^"", killed_sounds[0])
}
if(arma == CSW_KNIFE)
{
client_cmd(atacator, "spk ^"%s^"", killed_sounds[2])
client_cmd(victima, "spk ^"%s^"", killed_sounds[2])
}
else if(tinta == HIT_HEAD)
{
client_cmd(atacator, "spk ^"%s^"", killed_sounds[1])
client_cmd(victima, "spk ^"%s^"", killed_sounds[1])
}
}
93.114.82.17:27015 - Monster Invasion CO-OP Mod
-
roberteeel
- Membru, skill 0
- Posts: 0
- Joined: 05 Sep 2012, 11:39
- Detinator Steam: Nu
- Reputatie: Nick anterior: QAZW, Robert.ultrasFarul, CT 18 ROS
Restrictie schimbare nume
Fost moderator
Fost Membru Club eXtreamCS (doua luni)
- Has thanked: 313 times
- Been thanked: 357 times
25 Jan 2014, 12:02
La mine nu se aude sunetul, de ce? Nici macar nu s-a descarcat. Trebuie sa pun si alt plugin in afara de cel facut de cyby?
-
Users browsing this forum: Google [Bot] and 21 guests