plugin he sonds

Categoria cu cereri de pluginuri si nu numai.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Forum rules
Accesează link-ul pentru a putea vedea regulile forumului

Daca doriti sa vi se modifice un plugin, va rugam postati aici .
mr.f3lyx
Membru, skill +2
Membru, skill +2
Posts: 610
Joined: 10 Nov 2013, 20:24
Detinator Steam: Da
Location: Palermo, Italy
Has thanked: 69 times
Been thanked: 17 times

21 Jan 2014, 16:41

Buna asi avea si eu nevoie de un plugin cand cineva este luat cu he grenade sa se auda un sunetul acesta http://zm.comlu.com/sound/misc/witch.wav
RoyalServer 2
mr.f3lyx
Membru, skill +2
Membru, skill +2
Posts: 610
Joined: 10 Nov 2013, 20:24
Detinator Steam: Da
Location: Palermo, Italy
Has thanked: 69 times
Been thanked: 17 times

22 Jan 2014, 17:30

Nimeni ? chiar asa de greu este ?
mr.f3lyx
Membru, skill +2
Membru, skill +2
Posts: 610
Joined: 10 Nov 2013, 20:24
Detinator Steam: Da
Location: Palermo, Italy
Has thanked: 69 times
Been thanked: 17 times

23 Jan 2014, 20:55

:-w :-w :-w :-w :-w
User avatar
RAZVANN.
Utilizator neserios (tepar)
Utilizator neserios (tepar)
Posts: 3610
Joined: 03 Nov 2008, 21:07
Detinator Steam: Da
CS Status: Excelent
SteamID: Privat
Reputatie: Fost moderator ajutator
Utilizator neserios ( tepar )
Has thanked: 206 times
Been thanked: 179 times

23 Jan 2014, 21:14

mr.f3lyx
Membru, skill +2
Membru, skill +2
Posts: 610
Joined: 10 Nov 2013, 20:24
Detinator Steam: Da
Location: Palermo, Italy
Has thanked: 69 times
Been thanked: 17 times

23 Jan 2014, 21:26

Ms dar pe ala l-am gasit si eu ...
User avatar
RAZVANN.
Utilizator neserios (tepar)
Utilizator neserios (tepar)
Posts: 3610
Joined: 03 Nov 2008, 21:07
Detinator Steam: Da
CS Status: Excelent
SteamID: Privat
Reputatie: Fost moderator ajutator
Utilizator neserios ( tepar )
Has thanked: 206 times
Been thanked: 179 times

23 Jan 2014, 21:26

Si ce are? Functioneaza corect, instaleaza-l corect si o sa faca ce vrei tu.
mr.f3lyx
Membru, skill +2
Membru, skill +2
Posts: 610
Joined: 10 Nov 2013, 20:24
Detinator Steam: Da
Location: Palermo, Italy
Has thanked: 69 times
Been thanked: 17 times

23 Jan 2014, 21:32

da dar imi adauga si un efect specific dar eu vreau unul simplu gen
SMA | Afiseaza codul
#include <amxmodx>
#include <csx>

#define PLUGIN "
#define VERSION "
#define AUTHOR "

new plugin_mode;

public plugin_init() {

	register_plugin( PLUGIN,VERSION,AUTHOR );

	

	plugin_mode = register_cvar("amx_hsmode","3");


public client_death(killer,victim,weapon,hitplace,TK)

{

	new vname[32], kname[32]

	

	get_user_name(victim,vname,31);

	get_user_name(killer,kname,31);

	

	if(hitplace == HIT_HEAD)

	{

		if(get_pcvar_num(plugin_mode) == 1)

		{

			

			set_hudmessage(0, 150, 0, -1.0, 0.30, 0, 3.0, 3.0, 0.15, 0.15, 1);

			show_hudmessage(killer,"--> L-ai omorat pe %s cu un HEADSHOT ! <--",vname);

		}

		

		else if(get_pcvar_num(plugin_mode) == 2)

		{

			client_cmd(0,"spk misc/headshot")

		}

		

		else if(get_pcvar_num(plugin_mode) == 3)

		{

			set_hudmessage(0, 150, 0, -1.0, 0.33, 0, 6.0, 6.0);

			show_hudmessage(killer,"--> L-ai omorat pe %s cu un HEADSHOT ! <--",vname);

			

			client_cmd(0,"spk misc/headshot")

		}

	}

	return 0;

}
public plugin_precache()

{
	precache_sound("misc/headshot.wav");
}
User avatar
GhosT ***
Membru, skill +2
Membru, skill +2
Posts: 604
Joined: 04 Dec 2013, 21:52
Detinator Steam: Da
CS Status: Morphin . [ Retras ]
SteamID: Mutulica1428
Reputatie: Fost Moderator ajutator
Location: Dumesti.
Has thanked: 40 times
Been thanked: 99 times
Contact:

23 Jan 2014, 22:03

| Afiseaza codul
#include <amxmodx>
#include <csx>

#define PLUGIN "
#define VERSION "
#define AUTHOR "

new plugin_mode;

public plugin_init() {

	register_plugin( PLUGIN,VERSION,AUTHOR );

	

	plugin_mode = register_cvar("amx_hsmode","3");


public client_death(killer,victim,weapon,hitplace,TK)

{

	new vname[32], kname[32]

	

	get_user_name(victim,vname,31);

	get_user_name(killer,kname,31);

	

	if(weapon == CSW_HEGRENADE)

	{

		if(get_pcvar_num(plugin_mode) == 1)

		{

			

			set_hudmessage(0, 150, 0, -1.0, 0.30, 0, 3.0, 3.0, 0.15, 0.15, 1);

			show_hudmessage(killer,"--> L-ai omorat pe %s cu un He Grenade ! <--",vname);

		}

		

		else if(get_pcvar_num(plugin_mode) == 2)

		{

			client_cmd(0,"spk misc/HeGrenade")

		}

		

		else if(get_pcvar_num(plugin_mode) == 3)

		{

			set_hudmessage(0, 150, 0, -1.0, 0.33, 0, 6.0, 6.0);

			show_hudmessage(killer,"--> L-ai omorat pe %s cu He Grenade ! <--",vname);

			

			client_cmd(0,"spk misc/HeKill")

		}

	}

	return 0;

}
public plugin_precache()

{
	precache_sound("misc/HeKill.wav");
}
l-am modificat pe ala de mai sus sa ti se auda sunetu cand faci killu cu he :))
User avatar
pgvd
Membru, skill +1
Membru, skill +1
Posts: 212
Joined: 15 Dec 2013, 23:15
Detinator Steam: Da
Has thanked: 36 times
Been thanked: 1 time
Contact:

23 Jan 2014, 22:10

Da erori la compilare.
User avatar
cyby
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 1777
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

23 Jan 2014, 23:36

| Afiseaza codul
#include <amxmodx>
#include <csx>

new const witch_sound[] = "misc/witch.wav";

new g_msgsaytext;

public plugin_init()
	g_msgsaytext = get_user_msgid("SayText")

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)
	{
		static aname[32], vname[32];
		get_user_name(atacator, aname, charsmax(aname) - 1)
		get_user_name(victima, vname, charsmax(vname) - 1)
		color(0, ".v[TAG].e %s.g a aruncat un cadou o bomba in poseta lui.e %s.g.", aname, vname)
		client_cmd(0, "spk ^"%s^"", witch_sound)
	}
}

stock color(const id, const input[], any:...)
{
	new count = 1, players[32];
	static msg[191]
	vformat(msg, 190, input, 3)
	
	replace_all(msg, 190, ".v", "^4")
	replace_all(msg, 190, ".g", "^1")
	replace_all(msg, 190, ".e", "^3")
	
	if(id) players[0] = id; else get_players(players, count, "ch")
	{
		for (new i = 0; i < count; i++)
		{
			if(is_user_connected(players))
			{
				message_begin(MSG_ONE_UNRELIABLE, g_msgsaytext, _, players)
				write_byte(players);
				write_string(msg);
				message_end();
			}
		}
	}
}
Last edited by cyby on 24 Jan 2014, 00:13, edited 1 time in total.
93.114.82.17:27015 - Monster Invasion CO-OP Mod
mr.f3lyx
Membru, skill +2
Membru, skill +2
Posts: 610
Joined: 10 Nov 2013, 20:24
Detinator Steam: Da
Location: Palermo, Italy
Has thanked: 69 times
Been thanked: 17 times

23 Jan 2014, 23:57

Iti multumesc de initiativa dar numi merge :|
User avatar
cyby
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 1777
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:13

Reverifica, mi-am editat postul.
93.114.82.17:27015 - Monster Invasion CO-OP Mod
Post Reply

Return to “Cereri”

  • Information