cerere plugin[rezolvat]

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 .
Post Reply
User avatar
b[L]u
Membru, skill +1
Membru, skill +1
Posts: 314
Joined: 31 May 2010, 13:27
Detinator Steam: Nu
Has thanked: 26 times
Been thanked: 8 times

20 Aug 2010, 11:40

SaLut cine poate sa-mi faca un plugin cand intra un jucator sau iese sa se auda 2 sunete specifice... (ex la intrarea unui jucator sa se auda sunetul :a intrat un jucaotr si la iesire a iesit un jucator...sunetele le am eu.. :D
Last edited by b[L]u on 20 Aug 2010, 14:58, edited 1 time in total.
Nick: MiSteR D
Image
User avatar
cEsZaR.JnT
Membru, skill 0
Membru, skill 0
Posts: 34
Joined: 24 Oct 2009, 21:36
Detinator Steam: Nu
CS Status: Brasov.GamesZone.Ro
Detinator server CS: Brasov.GamesZone.Ro
Has thanked: 7 times
Contact:

20 Aug 2010, 11:57

Auzi dar dc ma copiezi ? :)
User avatar
cEsZaR.JnT
Membru, skill 0
Membru, skill 0
Posts: 34
Joined: 24 Oct 2009, 21:36
Detinator Steam: Nu
CS Status: Brasov.GamesZone.Ro
Detinator server CS: Brasov.GamesZone.Ro
Has thanked: 7 times
Contact:

20 Aug 2010, 11:59

Am o rugaminte la tine, daca tot incerci sa ma copiezi fa-o cu cap!
Schimbati macar sunetele sa nu fie la fel ca la mine,incearca macar. Ms
User avatar
b[L]u
Membru, skill +1
Membru, skill +1
Posts: 314
Joined: 31 May 2010, 13:27
Detinator Steam: Nu
Has thanked: 26 times
Been thanked: 8 times

20 Aug 2010, 12:01

nu cred ca eu te copiez=))) io am inceput dinaintea ta cu pluginurile cu sunet ...ar fi cazul sa te duci la cereri si sa te uiti pe acolo sa vedem cine pe cine copiaza :-j ..si app si tu ai copiat asa ca ...am2 am copiat ce sa mai asa ca sh :P
Nick: MiSteR D
Image
Reptile
Membru, skill +1
Membru, skill +1
Posts: 245
Joined: 12 Nov 2008, 14:11
Detinator Steam: Nu
Reputatie: Fost manager
Been thanked: 23 times

20 Aug 2010, 12:25

Code: Select all

#include <amxmodx>

#pragma semicolon 1

new const g_version[] = "0.1";

new const g_Sounds[ 2 ][] = 
{
    "misc/intrare.mp3",
    "misc/iesire.mp3"
};

public plugin_precache()
{
    register_plugin( "C/D sound", g_version, "compaq" );

    static i;

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

public client_putinserver( i_Index )
{
    client_cmd( 0, "mp3 loop %s", g_Sounds[ 0 ] );
}

public client_disconnect( i_Index )
{
    client_cmd( 0, "mp3 loop %s", g_Sounds[ 1 ] );
}
mp3

Code: Select all

#include <amxmodx>

#pragma semicolon 1

new const g_version[] = "0.1";

new const g_Sounds[ 2 ][] = 
{
	"misc/intrare.wav",
	"misc/iesire.wav"
};

public plugin_precache()
{
	register_plugin( "C/D sound", g_version, "compaq" );

	static i;

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

public client_putinserver( i_Index )
{
	client_cmd( 0, "spk %s", g_Sounds[ 0 ] );
}

public client_disconnect( i_Index )
{
	client_cmd( 0, "spk %s", g_Sounds[ 1 ] );
}
wav
User avatar
b[L]u
Membru, skill +1
Membru, skill +1
Posts: 314
Joined: 31 May 2010, 13:27
Detinator Steam: Nu
Has thanked: 26 times
Been thanked: 8 times

20 Aug 2010, 12:39

multumesc mult >:D<
Nick: MiSteR D
Image
Post Reply

Return to “Cereri”

  • Information