Cerere plugin bomba + efecte grenada

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 .
User avatar
xDragosss
Membru, skill +1
Membru, skill +1
Posts: 136
Joined: 03 Nov 2013, 02:22
Detinator Steam: Da
CS Status: :(
Detinator server CS: CHRISTMAS.CS1.RO
SteamID: xdragoss1234
Has thanked: 21 times
Been thanked: 10 times
Contact:

29 Nov 2013, 19:02

Salut ExtreamCs , as dorii si eu 2 pluginuri daca doritii :

1 . Cand pui bomba sa cante asta ( TENERIFE.mp3 )

Sunetul : http://fisier.biz/download.php?file=280tene.mp3

2. As dorii un efect frumusel atunci cand explodeaza grenada din mana !

Multumesc. \:d/ >:D< [-o<
CHRISTMAS.CS1.RO - Christmas Ambience , New Skins , New Sounds , Enjoy !
Rapidserver
User avatar
YONTU
Moderator ajutator
Moderator ajutator
Posts: 2446
Joined: 10 May 2013, 13:25
Detinator Steam: Nu
CS Status: Everyone is looking at ur shoes
Reputatie: Moderator ajutator
Fost scripter eXtreamCS
Location: Gura Humorului
Has thanked: 255 times
Been thanked: 281 times
Contact:

29 Nov 2013, 20:17

„Peste douăzeci de ani vei fi dezamăgit din cauza lucrurilor pe care nu le-ai făcut, nu din cauza celor pe care le-ai făcut.” - Mark Twain
„Asa e si in viata, hotii castiga, prostii care invata pierd.” - Mihai Nemeș

discord: IonutC#5114

Vrei sa joci pe un server de biohazard clasic specific timpurilor 2008-2012?
CLICK | Afiseaza codul
89.44.246.14:27015 biohazard clasic
User avatar
xDragosss
Membru, skill +1
Membru, skill +1
Posts: 136
Joined: 03 Nov 2013, 02:22
Detinator Steam: Da
CS Status: :(
Detinator server CS: CHRISTMAS.CS1.RO
SteamID: xdragoss1234
Has thanked: 21 times
Been thanked: 10 times
Contact:

29 Nov 2013, 20:44

Mersi mult YONTU ! \:d/

Ma ajut cineva cu bomba ?
CHRISTMAS.CS1.RO - Christmas Ambience , New Skins , New Sounds , Enjoy !
User avatar
Adventx
Membru, skill +4
Membru, skill +4
Posts: 1785
Joined: 17 Sep 2013, 20:44
Detinator Steam: Da
Reputatie: Fost moderator ajutator
Has thanked: 125 times
Been thanked: 142 times
Contact:

29 Nov 2013, 20:56

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

#pragma semicolon 1


#define PLUGIN "FMU Bomb Events"
#define VERSION "1.0"

#define C4_TASK		112233

new const g_szBombPlantedSounds[ ][ ] =
{
	"fmu_bombplanted.mp3",
	"fmu_bombplanted2.mp3"
};

new const g_iRed[ ] =
{
	0,
	125,
	255
};

new const g_iGreen[ ] =
{
	255,
	125,
	10
};

new const g_iBlue[ ] =
{
	255,
	0,
	0
};

new gCvarOn;
new gCvarSound;
new gCvarDropped;
new gCvarPicked;

new g_C4Timer, g_iColor = 0, g_iSound = 0;
new g_pMpC4Timer;
new g_TextMsg;

new gSyncHudMessage;

public plugin_init( )
{
	register_plugin( PLUGIN, VERSION, "Askhanar" );
	
	gCvarOn = register_cvar( "fmu_be_on", "1" );
	gCvarSound = register_cvar( "fmu_be_sound", "1" );
	gCvarDropped = register_cvar( "fmu_be_dropped", "1" );
	gCvarPicked = register_cvar( "fmu_be_picked", "1" );
	
	
	register_event( "ResetHUD", "ev_ResetHUD", "be" );
	register_event( "SendAudio", "TeamWonOrRoundDraw", "a", "2&%!MRAD_terwin", "2&%!MRAD_ctwin", "2&%!MRAD_rounddraw" );
	
	register_logevent( "le_RoundStart", 2, "1=Round_Start");
	register_logevent( "le_RoundEnd", 2, "1=Round_End");
	register_logevent( "le_RoundEnd", 2, "1&Restart_Round_");
	
	
	g_pMpC4Timer = get_cvar_pointer( "mp_c4timer" );
	
	g_TextMsg = get_user_msgid( "TextMsg" );
	register_message( g_TextMsg, "Hook_TextMessages" );

	gSyncHudMessage = CreateHudSyncObj(  );
}

public bomb_planted( ) 
{
	if( get_pcvar_num( gCvarOn ) == 0 )
		return;
		
	if( get_pcvar_num( gCvarSound ) > 0 )
	{
		client_cmd( 0, "stopsound" );
		client_cmd( 0, "mp3 play ^"sound/misc/%s^"", g_szBombPlantedSounds[ g_iSound ] );
		
		g_iSound++;
		if( g_iSound >= 2 )	g_iSound = 0;
	}
	
	g_C4Timer = get_pcvar_num( g_pMpC4Timer ) - 1;
	
	set_task(1.0, "ShowTimeUntilExplosion", C4_TASK, "", 0, "b" );
}

public ShowTimeUntilExplosion(  )
{
	if( g_C4Timer > 0 )
	{
		if ( g_C4Timer > 20 )
			g_iColor = 0;
		else if ( g_C4Timer > 10 )
			g_iColor = 1;
		else if ( g_C4Timer <= 10 )
			g_iColor = 2;
			
		set_hudmessage( g_iRed[ g_iColor ], g_iGreen[ g_iColor ], g_iBlue[ g_iColor ], -1.0, 0.83, 0, 1.0, 1.0, 0.01, 0.01, -1 );
		ShowSyncHudMsg( 0, gSyncHudMessage, "Bomba explodeaza in: %i secund%s!", g_C4Timer, g_C4Timer == 1 ? "a" : "e" );
		g_C4Timer--;
	}

	else 
		remove_task( C4_TASK );
		
}

public Hook_TextMessages( iMsgId, iMsgDest, id )
{
	if( get_pcvar_num( gCvarOn ) == 0 )
		return PLUGIN_CONTINUE;
    
	static szMsg[ 64 ];
	get_msg_arg_string( 2, szMsg, sizeof ( szMsg ) - 1 );
	
	new iDropped = get_pcvar_num( gCvarDropped );
	if( iDropped && equal( szMsg, "#Game_bomb_drop" ) )
	{
		set_hudmessage( 255, 0, 0, -1.0, 0.16, 0, 0.0, 3.5, 0.1, 0.1, -1 );
		ShowSyncHudMsg( 0, gSyncHudMessage, "Furienii au pierdut bomba !" );
		return PLUGIN_HANDLED;
	}
	
	new iPicked = get_pcvar_num( gCvarPicked );
	if( iPicked  && equal( szMsg, "#Game_bomb_pickup" ) || iPicked  && equal( szMsg, "#Got_bomb" ) )
	{
		set_hudmessage( 255, 0, 0, -1.0, 0.16, 0, 0.0, 3.5, 0.1, 0.1, -1 );
		ShowSyncHudMsg( 0, gSyncHudMessage, "Furienii au recuperat bomba!" );
		return PLUGIN_HANDLED;
	}
		
	return PLUGIN_CONTINUE;
}

public ev_ResetHUD( )
{
	g_C4Timer = 0;
}

public TeamWonOrRoundDraw( )
{
	RemoveTimerTask( );
}

public le_RoundStart( )
{
	RemoveTimerTask( );
}

public le_RoundEnd()
{
	RemoveTimerTask( );
}

public plugin_end()
{
	RemoveTimerTask( );
}

public RemoveTimerTask( )
{
	if( get_pcvar_num( gCvarOn ) == 0 )
		return;
		
	g_C4Timer = -1;
	remove_task( C4_TASK );
}

public plugin_precache() 
{
	new szSound[ 64 ];
	for( new i = 0; i < 2; i++ )
	{
		formatex( szSound, sizeof ( szSound ) -1, "sound/fmu_sounds/%s", g_szBombPlantedSounds[ i ] );
		precache_generic( szSound );
	}
	
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang3081\\ f0\\ fs16 \n\\ par }
*/
new const g_szBombPlantedSounds[ ][ ] =
{
"fmu_bombplanted.mp3",
"fmu_bombplanted2.mp3"
};

Iar soundurile le adaugi in sound/misc
User avatar
xDragosss
Membru, skill +1
Membru, skill +1
Posts: 136
Joined: 03 Nov 2013, 02:22
Detinator Steam: Da
CS Status: :(
Detinator server CS: CHRISTMAS.CS1.RO
SteamID: xdragoss1234
Has thanked: 21 times
Been thanked: 10 times
Contact:

29 Nov 2013, 22:26

Mie nu'mi trebuie frate pentru furien , eu vreau un simplu plugin care se faca cand pui bomba sa se auda un amarat de sunet :|
CHRISTMAS.CS1.RO - Christmas Ambience , New Skins , New Sounds , Enjoy !
#Vali
Fost moderator
Fost moderator
Posts: 2611
Joined: 24 Jan 2012, 11:00
Detinator Steam: Da
SteamID: id/spryt3
Reputatie: Fost Moderator
Fost Scripter eXtreamCS.com
1.2 / 3
Location: root
Has thanked: 81 times
Been thanked: 144 times
Contact:

29 Nov 2013, 22:30

| Afiseaza codul
/* Plugin generated by AMXX-Studio */

#include < amxmodx >
#include < cstrike >


#define PLUGIN "NewBombEvents"
#define VERSION "1.1"
#define AUTHOR "crazy.cipry"


new  g_SoundPlanted[] = "misc/explode2.wav"
new  g_SoundDefused[] = "misc/defused2.wav"
new  g_SoundExplode[] = "misc/explode.wav"



public plugin_precache ( ) {
	
	precache_sound ( g_SoundExplode );
	precache_sound ( g_SoundDefused);
	precache_sound ( g_SoundPlanted);
	
	return PLUGIN_CONTINUE;
}

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

public bomb_planted()
{
	client_cmd(0,"spk %s", g_SoundExplode)
	return PLUGIN_CONTINUE;
}

public bomb_explode () {
	client_cmd ( 0, "spk %s", g_SoundPlanted);
	return PLUGIN_CONTINUE;
}

public bomb_defused ( defuser )  {
	client_cmd ( 0, "spk %s", g_SoundDefused);
	return PLUGIN_CONTINUE;
}
User avatar
xDragosss
Membru, skill +1
Membru, skill +1
Posts: 136
Joined: 03 Nov 2013, 02:22
Detinator Steam: Da
CS Status: :(
Detinator server CS: CHRISTMAS.CS1.RO
SteamID: xdragoss1234
Has thanked: 21 times
Been thanked: 10 times
Contact:

29 Nov 2013, 22:36

Man , cand plantezi nu cand dezamorsezi sau bubuie..
CHRISTMAS.CS1.RO - Christmas Ambience , New Skins , New Sounds , Enjoy !
#Vali
Fost moderator
Fost moderator
Posts: 2611
Joined: 24 Jan 2012, 11:00
Detinator Steam: Da
SteamID: id/spryt3
Reputatie: Fost Moderator
Fost Scripter eXtreamCS.com
1.2 / 3
Location: root
Has thanked: 81 times
Been thanked: 144 times
Contact:

29 Nov 2013, 22:42

Done | Afiseaza codul
/* Plugin generated by AMXX-Studio */

#include < amxmodx >
#include < cstrike >


#define PLUGIN "NewBombEvents"
#define VERSION "1.1"
#define AUTHOR "crazy.cipry"

new  g_SoundExplode[] = "misc/explode.wav"

public plugin_precache ( ) {
	
	precache_sound ( g_SoundExplode );
	return PLUGIN_CONTINUE;
}

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

public bomb_planted()
{
	client_cmd(0,"spk %s", g_SoundExplode)
	return PLUGIN_CONTINUE;
}
User avatar
xDragosss
Membru, skill +1
Membru, skill +1
Posts: 136
Joined: 03 Nov 2013, 02:22
Detinator Steam: Da
CS Status: :(
Detinator server CS: CHRISTMAS.CS1.RO
SteamID: xdragoss1234
Has thanked: 21 times
Been thanked: 10 times
Contact:

29 Nov 2013, 22:46

Nu cand explodeaza man... , cand plantezi bombaaa !!
CHRISTMAS.CS1.RO - Christmas Ambience , New Skins , New Sounds , Enjoy !
munir
Membru eXtream
Membru eXtream
Posts: 3193
Joined: 30 Aug 2012, 21:16
Detinator Steam: Da
CS Status: Fost scripter
Detinator server CS: Nu
SteamID: -
Reputatie: Fost super moderator
Restrictie schimbare nume
Nume anterior: falseq, cruyff
Location: Bucuresti
Has thanked: 335 times
Been thanked: 570 times
Contact:

29 Nov 2013, 22:46

| Afiseaza codul
/* Plugin generated by AMXX-Studio */

#include < amxmodx >
#include < cstrike >


#define PLUGIN "NewBombEvents"
#define VERSION "1.1"
#define AUTHOR "crazy.cipry"

new  g_SoundExplode[] = "TENERIFE.mp3"

public plugin_precache ( ) {
	
	precache_generic ( g_SoundExplode );
	return PLUGIN_CONTINUE;
}

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

public bomb_planted()
{
	client_cmd(0,"mp3 stop;mp3 play %s", g_SoundExplode)
	return PLUGIN_CONTINUE;
}
Sunetul il pui in cstrike/sound
Retras
User avatar
xDragosss
Membru, skill +1
Membru, skill +1
Posts: 136
Joined: 03 Nov 2013, 02:22
Detinator Steam: Da
CS Status: :(
Detinator server CS: CHRISTMAS.CS1.RO
SteamID: xdragoss1234
Has thanked: 21 times
Been thanked: 10 times
Contact:

29 Nov 2013, 22:49

cryuff , eu am zis cand pun bomba sa cante melodia , nu cand explodeaza..
CHRISTMAS.CS1.RO - Christmas Ambience , New Skins , New Sounds , Enjoy !
#Vali
Fost moderator
Fost moderator
Posts: 2611
Joined: 24 Jan 2012, 11:00
Detinator Steam: Da
SteamID: id/spryt3
Reputatie: Fost Moderator
Fost Scripter eXtreamCS.com
1.2 / 3
Location: root
Has thanked: 81 times
Been thanked: 144 times
Contact:

29 Nov 2013, 23:06

public bomb_planted()
{
client_cmd(0,"spk %s", g_SoundExplode)
return PLUGIN_CONTINUE;
}

esti hanalfabet?
testeaza inainte sa sari cu papagalu la noi
Post Reply

Return to “Cereri”

  • Information