DHUD Team Details

Pluginuri facute de utilizatorii forumului eXtream.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

User avatar
Ulquiorra
Fost moderator
Fost moderator
Posts: 2053
Joined: 25 Jul 2010, 17:29
Detinator Steam: Da
CS Status: A mai trecut o zi asteptand una mai buna
Detinator server CS: Retras.
SteamID: STEAM_0:1:318247XX
Reputatie: Fost Scripter eXtreamCS
Fost Moderator ajutator
Nick anterior: Askhanar
Location: Braila, Romania.
Has thanked: 215 times
Been thanked: 1132 times

13 Mar 2014, 01:23

DHUD Team Details

Descriere:
Acest plugin 'exista' deja dar pentru ca a fost cerut aici am facut unul al meu +o functie noua.
As fi putut posta toate lucrurile astea in Furien Score and Round dat nu se potriveste pentru ca aici am 5 variante diferite..


Nume: DHUD Team Details
Versiune: 0.1.7
Link oficial: http://www.extreamcs.com/forum

Instalare:
Instalarea se face lafel ca la oricare alt plugin.
Nu am mai adaugat pasi pentru ca nu am postat un singur plugin ci 5.

Descarcare:

DHUD Team Details -> Server Clasic | Afiseaza codul
/* Plugin generated by AMXX-Studio */

	#include < amxmodx >
	#if AMXX_VERSION_NUM < 183
		#include < dhudmessage >
	#endif

	
	#pragma semicolon 1

		// --| Credite lui CryWolf pentru 'layout' !!
	new const
		PLUGIN_NAME[ ] 		= "DHUD Team Details",
		PLUGIN_VERSION[ ] 	= "0.1.7";
	
	/* Copyright (c) 2013 Askhanar  @eXtreamCS.com
	
	http://www.eXtreamCS.com/forum
	http://www.amxmodx.org
	http://www.amxmodx.ro
	
	*/
	
	
	// --| Culorile in RRR GGG BBB ( poate fi luata si in paint ).
	
	#define	iTerroRed	255
	#define	iTerroGreen	0
	#define	iTerroBlue	0
	
	#define	iCtRed	0
	#define	iCtGreen	0
	#define	iCtBlue	255
	
	#define	iRoundsRed	255
	#define	iRoundsGreen	255
	#define	iRoundsBlue	255
	
	#define	iLastWonRed	255
	#define	iLastWonGreen	255
	#define	iLastWonBlue	0
	
	new const
		g_szCts[ ] 	= "^t^t Ct-Strike %02i",
		g_szTerrorists[ ]	= "^t^t%02i Terrorists",
		g_szRounds[ ]	= "[ %02i ]^n%02i Wins %02i";
		
		
	enum _:iTeamWons
	{
		TERRO,
		CT
	}
	
	new g_iTeamWons[ iTeamWons ];
	new g_iRounds;
	new g_iLastWon;
				
public plugin_init( )
{
	
	register_plugin( PLUGIN_NAME, PLUGIN_VERSION, "Askhanar" );
	
	
	register_event( "HLTV", "ev_NewRound", "a", "1=0", "2=0" );
	register_event( "TextMsg", "ev_RoundRestart", "a", "2&#Game_C", "2&#Game_w" );
	
	register_event( "SendAudio", "ev_TerroristWin", "a", "2&%!MRAD_terwin" );
	register_event( "SendAudio", "ev_CtWin", "a", "2&%!MRAD_ctwin" );
	
	g_iRounds = 0;
	g_iTeamWons[ TERRO ] = 0;
	g_iTeamWons[ CT ] = 0;
	g_iLastWon = -1;
	
	set_task( 1.0, "task_DisplayHudScore", _, _, _, "b", 0 );
	// Add your code here...
}


public ev_NewRound( )	g_iRounds++;
public ev_RoundRestart( )
{
	g_iLastWon = -1;
	g_iRounds = 0;
	
	g_iTeamWons[ TERRO ] = 0;
	g_iTeamWons[ CT ] = 0;
}
public ev_TerroristWin( )
{ 	
	g_iLastWon = TERRO;
	g_iTeamWons[ TERRO ]++;
}
public ev_CtWin( )
{	
	g_iLastWon = CT;
	g_iTeamWons[ CT ]++;
}

public task_DisplayHudScore( )
{
	
	static iPlayers[ 32 ];
	static iPlayersNum;
		
	get_players( iPlayers, iPlayersNum, "ch" );
	if( !iPlayersNum )
		return;
	
	static szCrap[ 32 ];
	static iTerro, iCt;
	
	get_players( szCrap, iTerro, "aech", "TERRORIST" );
	get_players( szCrap, iCt, "aech", "CT" );
	
	static id, i;
	for( i = 0; i < iPlayersNum; i++ )
	{
		id = iPlayers[ i ];
		
		set_dhudmessage( iCtRed, iCtGreen, iCtBlue, 0.30, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 2.0, 1.0, 1.0 );
		show_dhudmessage( id, g_szCts, iCt );
		

		set_dhudmessage( iRoundsRed, iRoundsGreen, iRoundsBlue, -1.0, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 2.0, 1.0, 1.0 );
		show_dhudmessage( id, g_szRounds, g_iRounds, g_iTeamWons[ CT ], g_iTeamWons[ TERRO ] );
		
		set_dhudmessage( iTerroRed, iTerroGreen, iTerroBlue, 0.51, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 2.0, 1.0, 1.0 );
		show_dhudmessage( id, g_szTerrorists, iTerro );
		
		
		if( g_iLastWon != -1 )
		{
			switch( g_iLastWon )
			{
				case TERRO:
				{
					set_dhudmessage( iLastWonRed, iLastWonGreen, iLastWonBlue, 0.58, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 2.0, 1.0, 1.0 );
					show_dhudmessage( id, "^n>" );
				}
				case CT:
				{
					set_dhudmessage( iLastWonRed, iLastWonGreen, iLastWonBlue, 0.41, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 2.0, 1.0, 1.0 );
					show_dhudmessage( id, "^n<" );
				}
				
			}
			
		}
		
		
	}
	
}
Screen | Afiseaza codul
Image


DHUD Team Details Server Furien | Afiseaza codul
/* Plugin generated by AMXX-Studio */

	#include < amxmodx >
	#if AMXX_VERSION_NUM < 183
		#include < dhudmessage >
	#endif
	
	#pragma semicolon 1

		// --| Credite lui CryWolf pentru 'layout' !!
	new const
		PLUGIN_NAME[ ] 		= "DHUD Team Details",
		PLUGIN_VERSION[ ] 	= "0.1.7";
	
	/* Copyright (c) 2013 Askhanar  @eXtreamCS.com
	
	http://www.eXtreamCS.com/forum
	http://www.amxmodx.org
	http://www.amxmodx.ro
	
	*/
	
	
	// --| Culorile in RRR GGG BBB ( poate fi luata si in paint ).
	
	#define	iFuriensRed	255
	#define	iFuriensGreen	0
	#define	iFuriensBlue	0
	
	#define	iAntiFuriensRed	0
	#define	iAntiFuriensGreen	0
	#define	iAntiFuriensBlue	255
	
	#define	iRoundsRed	255
	#define	iRoundsGreen	255
	#define	iRoundsBlue	255
	
	#define	iLastWonRed	255
	#define	iLastWonGreen	255
	#define	iLastWonBlue	0
	
	new const
		g_szAntiFuriens[ ] 	= "^t^t AntiFuriens %02i",
		g_szFuriens[ ]	= "^t^t%02i Furiens",
		g_szRounds[ ]	= "[ %02i ]^n%02i Wins %02i";
		
		
	enum _:iTeamWons
	{
		FURIENS,
		ANTIFURIENS
	}
	
	new g_iTeamWons[ iTeamWons ];
	new g_iRounds;
	new g_iLastWon;
				
public plugin_init( )
{
	
	register_plugin( PLUGIN_NAME, PLUGIN_VERSION, "Askhanar" );
	
	
	register_event( "HLTV", "ev_NewRound", "a", "1=0", "2=0" );
	register_event( "TextMsg", "ev_RoundRestart", "a", "2&#Game_C", "2&#Game_w" );
	
	register_event( "SendAudio", "ev_TerroristWin", "a", "2&%!MRAD_terwin" );
	register_event( "SendAudio", "ev_CtWin", "a", "2&%!MRAD_ctwin" );
	
	g_iRounds = 0;
	g_iTeamWons[ FURIENS ] = 0;
	g_iTeamWons[ ANTIFURIENS ] = 0;
	g_iLastWon = -1;
	
	set_task( 1.0, "task_DisplayHudScore", _, _, _, "b", 0 );
	// Add your code here...
}


public ev_NewRound( )	g_iRounds++;
public ev_RoundRestart( )
{
	g_iLastWon = -1;
	g_iRounds = 0;
	
	g_iTeamWons[ FURIENS ] = 0;
	g_iTeamWons[ ANTIFURIENS ] = 0;
}
public ev_TerroristWin( )
{ 	
	g_iLastWon = FURIENS;
	g_iTeamWons[ FURIENS ]++;
}
public ev_CtWin( )
{	
	g_iLastWon = ANTIFURIENS;
	g_iTeamWons[ ANTIFURIENS ]++;
}

public task_DisplayHudScore( )
{
	
	static iPlayers[ 32 ];
	static iPlayersNum;
		
	get_players( iPlayers, iPlayersNum, "ch" );
	if( !iPlayersNum )
		return;
	
	static szCrap[ 32 ];
	static iFuriens, iAntiFuriens;
	
	get_players( szCrap, iFuriens, "aech", "TERRORIST" );
	get_players( szCrap, iAntiFuriens, "aech", "CT" );
	
	static id, i;
	for( i = 0; i < iPlayersNum; i++ )
	{
		id = iPlayers[ i ];
		
		set_dhudmessage( iAntiFuriensRed, iAntiFuriensGreen, iAntiFuriensBlue, 0.33, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 2.0, 1.0, 1.0 );
		show_dhudmessage( id, g_szAntiFuriens, iAntiFuriens );
		

		set_dhudmessage( iRoundsRed, iRoundsGreen, iRoundsBlue, -1.0, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 2.0, 1.0, 1.0 );
		show_dhudmessage( id, g_szRounds, g_iRounds, g_iTeamWons[ ANTIFURIENS ], g_iTeamWons[ FURIENS ] );
		
		set_dhudmessage( iFuriensRed, iFuriensGreen, iFuriensBlue, 0.51, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 2.0, 1.0, 1.0 );
		show_dhudmessage( id, g_szFuriens, iFuriens );
		
		
		if( g_iLastWon != -1 )
		{
			switch( g_iLastWon )
			{
				case FURIENS:
				{
					set_dhudmessage( iLastWonRed, iLastWonGreen, iLastWonBlue, 0.58, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 2.0, 1.0, 1.0 );
					show_dhudmessage( id, "^n>" );
				}
				case ANTIFURIENS:
				{
					set_dhudmessage( iLastWonRed, iLastWonGreen, iLastWonBlue, 0.41, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 2.0, 1.0, 1.0 );
					show_dhudmessage( id, "^n<" );
				}
				
			}
			
		}
		
		
	}
	
}
Screen | Afiseaza codul
Image


DHUD Team Details Server HNS | Afiseaza codul
/* Plugin generated by AMXX-Studio */

	#include < amxmodx >
	#if AMXX_VERSION_NUM < 183
		#include < dhudmessage >
	#endif
	
	#pragma semicolon 1

		// --| Credite lui CryWolf pentru 'layout' !!
	new const
		PLUGIN_NAME[ ] 		= "DHUD Team Details",
		PLUGIN_VERSION[ ] 	= "0.1.7";
	
	/* Copyright (c) 2013 Askhanar  @eXtreamCS.com
	
	http://www.eXtreamCS.com/forum
	http://www.amxmodx.org
	http://www.amxmodx.ro
	
	*/
	
	
	// --| Culorile in RRR GGG BBB ( poate fi luata si in paint ).
	
	#define	iHidersRed	255
	#define	iHidersGreen	0
	#define	iHidersBlue	0
	
	#define	iSeekersRed	0
	#define	iSeekersGreen	0
	#define	iSeekersBlue	255
	
	#define	iRoundsRed	255
	#define	iRoundsGreen	255
	#define	iRoundsBlue	255
	
	#define	iLastWonRed	255
	#define	iLastWonGreen	255
	#define	iLastWonBlue	0
	
	new const
		g_szSeekers[ ] 	= "^t^t^tSeekers %02i",
		g_szHiders[ ]	= "^t^t%02i Hiders",
		g_szRounds[ ]	= "[ %02i ]^n%02i Wins %02i";
		
		
	enum _:iTeamWons
	{
		HIDERS,
		SEEKERS
	}
	
	new g_iTeamWons[ iTeamWons ];
	new g_iRounds;
	new g_iLastWon;
				
public plugin_init( )
{
	
	register_plugin( PLUGIN_NAME, PLUGIN_VERSION, "Askhanar" );
	
	
	register_event( "HLTV", "ev_NewRound", "a", "1=0", "2=0" );
	register_event( "TextMsg", "ev_RoundRestart", "a", "2&#Game_C", "2&#Game_w" );
	
	register_event( "SendAudio", "ev_TerroristWin", "a", "2&%!MRAD_terwin" );
	register_event( "SendAudio", "ev_CtWin", "a", "2&%!MRAD_ctwin" );
	
	g_iRounds = 0;
	g_iTeamWons[ HIDERS ] = 0;
	g_iTeamWons[ SEEKERS ] = 0;
	g_iLastWon = -1;
	
	set_task( 1.0, "task_DisplayHudScore", _, _, _, "b", 0 );
	// Add your code here...
}


public ev_NewRound( )	g_iRounds++;
public ev_RoundRestart( )
{
	g_iLastWon = -1;
	g_iRounds = 0;
	
	g_iTeamWons[ HIDERS ] = 0;
	g_iTeamWons[ SEEKERS ] = 0;
}
public ev_TerroristWin( )
{ 	
	g_iLastWon = HIDERS;
	g_iTeamWons[ HIDERS ]++;
}
public ev_CtWin( )
{	
	g_iLastWon = SEEKERS;
	g_iTeamWons[ SEEKERS ]++;
}

public task_DisplayHudScore( )
{
	
	static iPlayers[ 32 ];
	static iPlayersNum;
		
	get_players( iPlayers, iPlayersNum, "ch" );
	if( !iPlayersNum )
		return;
	
	static szCrap[ 32 ];
	static iHiders, iSeekers;
	
	get_players( szCrap, iHiders, "aech", "TERRORIST" );
	get_players( szCrap, iSeekers, "aech", "CT" );
	
	static id, i;
	for( i = 0; i < iPlayersNum; i++ )
	{
		id = iPlayers[ i ];
		
		set_dhudmessage( iSeekersRed, iSeekersGreen, iSeekersBlue, 0.31, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 2.0, 1.0, 1.0 );
		show_dhudmessage( id, g_szSeekers, iSeekers );
		

		set_dhudmessage( iRoundsRed, iRoundsGreen, iRoundsBlue, -1.0, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 2.0, 1.0, 1.0 );
		show_dhudmessage( id, g_szRounds, g_iRounds, g_iTeamWons[ SEEKERS ], g_iTeamWons[ HIDERS ] );
		
		set_dhudmessage( iHidersRed, iHidersGreen, iHidersBlue, 0.51, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 2.0, 1.0, 1.0 );
		show_dhudmessage( id, g_szHiders, iHiders );
		
		
		if( g_iLastWon != -1 )
		{
			switch( g_iLastWon )
			{
				case HIDERS:
				{
					set_dhudmessage( iLastWonRed, iLastWonGreen, iLastWonBlue, 0.58, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 2.0, 1.0, 1.0 );
					show_dhudmessage( id, "^n>" );
				}
				case SEEKERS:
				{
					set_dhudmessage( iLastWonRed, iLastWonGreen, iLastWonBlue, 0.41, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 2.0, 1.0, 1.0 );
					show_dhudmessage( id, "^n<" );
				}
				
			}
			
		}
		
		
	}
	
}
Screen | Afiseaza codul
Image


DHUD Team Details Server ZP | Afiseaza codul
/* Plugin generated by AMXX-Studio */

	#include < amxmodx >
	#if AMXX_VERSION_NUM < 183
		#include < dhudmessage >
	#endif
	#include < zombieplague >
	
	#pragma semicolon 1

	// --| Credite lui CryWolf pentru 'layout' !!
	new const
		PLUGIN_NAME[ ] 		= "DHUD Team Details",
		PLUGIN_VERSION[ ] 	= "0.1.7";
	
	/* Copyright (c) 2013 Askhanar  @eXtreamCS.com
	
	http://www.eXtreamCS.com/forum
	http://www.amxmodx.org
	http://www.amxmodx.ro
	
	*/
	
	
	// --| Culorile in RRR GGG BBB ( poate fi luata si in paint ).
	
	#define	iZombiesRed	255
	#define	iZombiesGreen	0
	#define	iZombiesBlue	0
	
	#define	iHumansRed	0
	#define	iHumansGreen	0
	#define	iHumansBlue	255
	
	#define	iRoundsRed	255
	#define	iRoundsGreen	255
	#define	iRoundsBlue	255
	
	#define	iLastWonRed	255
	#define	iLastWonGreen	255
	#define	iLastWonBlue	0
	
	new const
		g_szHumans[ ] 	= "^t^tHumans %02i",
		g_szZombies[ ]	= "^t^t%02i Zombies",
		g_szRounds[ ]	= "[ %02i ]^n%02i Wins %02i";
		
		
	enum _:iTeamWons
	{
		ZOMBIES,
		HUMANS
	}
	
	new g_iTeamWons[ iTeamWons ];
	new g_iRounds;
	new g_iLastWon;
				
public plugin_init( )
{
	
	register_plugin( PLUGIN_NAME, PLUGIN_VERSION, "Askhanar" );
	
	register_event( "TextMsg", "ev_RoundRestart", "a", "2&#Game_C", "2&#Game_w" );
	
	g_iRounds = 0;
	g_iTeamWons[ ZOMBIES ] = 0;
	g_iTeamWons[ HUMANS ] = 0;
	g_iLastWon = -1;
	
	set_task( 1.0, "task_DisplayHudScore", _, _, _, "b", 0 );
	// Add your code here...
}


public zp_round_started( )	g_iRounds++;

public ev_RoundRestart( )
{
	g_iLastWon = -1;
	g_iRounds = 0;
	
	g_iTeamWons[ ZOMBIES ] = 0;
	g_iTeamWons[ HUMANS ] = 0;
}

public zp_round_ended( iWinTeam )
{
	
	switch( iWinTeam )
	{
		case ZOMBIES:
		{
			g_iLastWon = ZOMBIES;
			g_iTeamWons[ ZOMBIES ]++;
		}
		case HUMANS:
		{
			g_iLastWon = HUMANS;
			g_iTeamWons[ HUMANS ]++;
		}	
		default: return;
	}
}

public task_DisplayHudScore( )
{
	
	static iPlayers[ 32 ];
	static iPlayersNum;
		
	get_players( iPlayers, iPlayersNum, "ch" );
	if( !iPlayersNum )
		return;
	
	static id, i;
	for( i = 0; i < iPlayersNum; i++ )
	{
		id = iPlayers[ i ];
		
		set_dhudmessage( iHumansRed, iHumansGreen, iHumansBlue, 0.32, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 2.0, 1.0, 1.0 );
		show_dhudmessage( id, g_szHumans, zp_get_human_count( ) );
		

		set_dhudmessage( iRoundsRed, iRoundsGreen, iRoundsBlue, -1.0, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 2.0, 1.0, 1.0 );
		show_dhudmessage( id, g_szRounds, g_iRounds, g_iTeamWons[ HUMANS ], g_iTeamWons[ ZOMBIES ] );
		
		set_dhudmessage( iZombiesRed, iZombiesGreen, iZombiesBlue, 0.51, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 2.0, 1.0, 1.0 );
		show_dhudmessage( id, g_szZombies, zp_get_zombie_count() );
		
		
		if( g_iLastWon != -1 )
		{
			switch( g_iLastWon )
			{
				case ZOMBIES:
				{
					set_dhudmessage( iLastWonRed, iLastWonGreen, iLastWonBlue, 0.58, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 2.0, 1.0, 1.0 );
					show_dhudmessage( id, "^n>" );
				}
				case HUMANS:
				{
					set_dhudmessage( iLastWonRed, iLastWonGreen, iLastWonBlue, 0.41, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 2.0, 1.0, 1.0 );
					show_dhudmessage( id, "^n<" );
				}
				
			}
			
		}
		
		
	}
	
}
Screen | Afiseaza codul
Image


DHUD Team Details Server BB | Afiseaza codul
/* Plugin generated by AMXX-Studio */

	#include < amxmodx >
	#if AMXX_VERSION_NUM < 183
		#include < dhudmessage >
	#endif
	
	#pragma semicolon 1

		// --| Credite lui CryWolf pentru 'layout' !!
	new const
		PLUGIN_NAME[ ] 		= "DHUD Team Details",
		PLUGIN_VERSION[ ] 	= "0.1.7";
	
	/* Copyright (c) 2013 Askhanar  @eXtreamCS.com
	
	http://www.eXtreamCS.com/forum
	http://www.amxmodx.org
	http://www.amxmodx.ro
	
	*/
	
	
	// --| Culorile in RRR GGG BBB ( poate fi luata si in paint ).
	
	#define	iZombiesRed	255
	#define	iZombiesGreen	0
	#define	iZombiesBlue	0
	
	#define	iBuildersRed	0
	#define	iBuildersGreen	0
	#define	iBuildersBlue	255
	
	#define	iRoundsRed	255
	#define	iRoundsGreen	255
	#define	iRoundsBlue	255
	
	#define	iLastWonRed	255
	#define	iLastWonGreen	255
	#define	iLastWonBlue	0
	
	new const
		g_szBuilders[ ] 	= "^t^t^tBuilders %02i",
		g_szZombies[ ]	= "^t^t%02i Zombies",
		g_szRounds[ ]	= "[ %02i ]^n%02i Wins %02i";
		
		
	enum _:iTeamWons
	{
		ZOMBIES,
		BUILDERS
	}
	
	new g_iTeamWons[ iTeamWons ];
	new g_iRounds;
	new g_iLastWon;
				
public plugin_init( )
{
	
	register_plugin( PLUGIN_NAME, PLUGIN_VERSION, "Askhanar" );
	
	
	register_event( "HLTV", "ev_NewRound", "a", "1=0", "2=0" );
	register_event( "TextMsg", "ev_RoundRestart", "a", "2&#Game_C", "2&#Game_w" );
	
	register_event( "SendAudio", "ev_TerroristWin", "a", "2&%!MRAD_terwin" );
	register_event( "SendAudio", "ev_CtWin", "a", "2&%!MRAD_ctwin" );
	
	g_iRounds = 0;
	g_iTeamWons[ ZOMBIES ] = 0;
	g_iTeamWons[ BUILDERS ] = 0;
	g_iLastWon = -1;
	
	set_task( 1.0, "task_DisplayHudScore", _, _, _, "b", 0 );
	// Add your code here...
}


public ev_NewRound( )	g_iRounds++;
public ev_RoundRestart( )
{
	g_iLastWon = -1;
	g_iRounds = 0;
	
	g_iTeamWons[ ZOMBIES ] = 0;
	g_iTeamWons[ BUILDERS ] = 0;
}
public ev_TerroristWin( )
{ 	
	g_iLastWon = ZOMBIES;
	g_iTeamWons[ ZOMBIES ]++;
}
public ev_CtWin( )
{	
	g_iLastWon = BUILDERS;
	g_iTeamWons[ BUILDERS ]++;
}

public task_DisplayHudScore( )
{
	
	static iPlayers[ 32 ];
	static iPlayersNum;
		
	get_players( iPlayers, iPlayersNum, "ch" );
	if( !iPlayersNum )
		return;
	
	static szCrap[ 32 ];
	static iZombies, iBuilders;
	
	get_players( szCrap, iZombies, "aech", "TERRORIST" );
	get_players( szCrap, iBuilders, "aech", "CT" );
	
	static id, i;
	for( i = 0; i < iPlayersNum; i++ )
	{
		id = iPlayers[ i ];
		
		set_dhudmessage( iBuildersRed, iBuildersGreen, iBuildersBlue, 0.30, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 2.0, 1.0, 1.0 );
		show_dhudmessage( id, g_szBuilders, iBuilders );
		

		set_dhudmessage( iRoundsRed, iRoundsGreen, iRoundsBlue, -1.0, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 2.0, 1.0, 1.0 );
		show_dhudmessage( id, g_szRounds, g_iRounds, g_iTeamWons[ BUILDERS ], g_iTeamWons[ ZOMBIES ] );
		
		set_dhudmessage( iZombiesRed, iZombiesGreen, iZombiesBlue, 0.51, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 2.0, 1.0, 1.0 );
		show_dhudmessage( id, g_szZombies, iZombies );
		
		
		if( g_iLastWon != -1 )
		{
			switch( g_iLastWon )
			{
				case ZOMBIES:
				{
					set_dhudmessage( iLastWonRed, iLastWonGreen, iLastWonBlue, 0.58, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 2.0, 1.0, 1.0 );
					show_dhudmessage( id, "^n>" );
				}
				case BUILDERS:
				{
					set_dhudmessage( iLastWonRed, iLastWonGreen, iLastWonBlue, 0.41, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 2.0, 1.0, 1.0 );
					show_dhudmessage( id, "^n<" );
				}
				
			}
			
		}
		
		
	}
	
}
Screen | Afiseaza codul
Image


Probabil va intrebati ce semnifica toate cifrele alea..
aici e raspunsul! | Afiseaza codul
Image

Nota:
Tin sa mentionez ca nu mi-a fost usor sa pozitionez fiecare cuvant si ca nu ma vait dar am dat in jur de 20 RR la server pentru fiecare plugin.

Modificari:
05.02.2019 - Lux0R^ : adaugat support amxx 1.8.3(1.9.0)+
Last edited by Lux0R^ on 05 Feb 2019, 18:27, edited 2 times in total.
Caut o persoana dedicata care se pricepe si stie ce face.
Vreau sa creeze si sa se ocupe de administrarea unui server de MU, da e vorba de vechiul joc..ma gandesc undeva la un season 3 ep1/2.

O sa achizitionez un domeniu .ro.
Totodata sponsorizez absolut orice este necesar.
Ma puteti contacta prin: http://solo.to/stfrzv
RoyalServer
User avatar
THEKING.
Manager CS
Manager CS
Posts: 3339
Joined: 21 Apr 2012, 17:24
Detinator Steam: Da
CS Status: Away
Detinator server CS: cs.extreamcs.com
SteamID: divinsx
Reputatie: Fost super moderator
Manager CS
Nume anterior: CLAU.
1/3
Location: Romania
Has thanked: 84 times
Been thanked: 74 times

13 Mar 2014, 07:44

La zm era , oricum bravo arata superb !
Last edited by Ulquiorra on 13 Mar 2014, 13:00, edited 1 time in total.
Reason: adevarat.. dar nu are functia adaugata de mine ( ultima echipa care a castiga )
User avatar
WISHEXEC
Membru, skill +4
Membru, skill +4
Posts: 1683
Joined: 12 Nov 2011, 19:37
Detinator Steam: Da
CS Status: AmxModX
Detinator server CS: DAEVA.RO
Reputatie: Fost Moderator ajutator
Nume anterior : ONEMDX
Location: România
Has thanked: 84 times
Been thanked: 85 times
Contact:

13 Mar 2014, 09:26

Arata foarte bine , ce a uitat askhanar sa spuna este ca daca esti mort bara se muta sub zona neagra de sus ( nu ramane sus de tot in permanenta ) , arata foarte foarte bine
Di@v0lul
Membru, skill 0
Membru, skill 0
Posts: 37
Joined: 26 Jul 2012, 14:28
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Reputatie: Ban 1 luna
Has thanked: 5 times
Been thanked: 2 times
Contact:

13 Mar 2014, 13:46

Chiar cautam plugin acesta pentru modul clasic ! Ai un multumesc de la mine

P.S : Scrisu e cam mare , unde trebuie sa umblam pentru a il micsora?
Last edited by Ulquiorra on 13 Mar 2014, 15:56, edited 1 time in total.
Reason: nu il poti micsora.. asa e mesajul hud.. este dhud nu hud normal
Connect Relax.Cs1.Ro - Respawn Server
User avatar
NuRoFeN [;x]
Membru, skill +2
Membru, skill +2
Posts: 828
Joined: 21 Aug 2012, 15:47
Detinator Steam: Da
CS Status: Inactiv !
Detinator server CS: DR.CS1.RO
SteamID: eualexandru
Reputatie: Fost moderator
Location: Rm.Valcea
Has thanked: 66 times
Been thanked: 61 times
Contact:

13 Mar 2014, 14:50

pentru deathrun ? :-?
Last edited by Ulquiorra on 13 Mar 2014, 15:56, edited 1 time in total.
Reason: pt dr il poti pune pala pentru sv clasic.. sau ai tu idee de nume la echipe..
User avatar
Gabriel963
Fost moderator
Fost moderator
Posts: 1658
Joined: 03 Feb 2013, 13:03
Detinator Steam: Da
CS Status: Retried
Reputatie: Membru Club eXtreamCS (1 luna)
Fost Moderator
Location: Bucharest, Romania.
Has thanked: 20 times
Been thanked: 85 times

13 Mar 2014, 15:05

NuRoFeN [;x] wrote:pentru deathrun ? :-?
Ce sa puna la deathrun? mai ales ca toate serverele sunt de respawn, unde castiga CT.
Image
User avatar
Gabriel eXtream
Membru, skill +2
Membru, skill +2
Posts: 953
Joined: 20 Aug 2012, 16:43
Detinator Steam: Da
CS Status: Can't be touched
Reputatie: Fost Moderator ajutator
Nume anterior: BlueSky#, EcHoO.
0.3 / 3
Utilizator neserios ( tepar )
Fond eXtream: 0
Location: Bucuresti
Has thanked: 67 times
Been thanked: 125 times

13 Mar 2014, 16:22

O versiune pentru zombie biohazard ? :)) Am pus-o pe aia de ZP SI NU MERGE.
User avatar
codrutzz
Membru, skill +2
Membru, skill +2
Posts: 539
Joined: 29 Jan 2014, 18:27
Detinator Steam: Da
CS Status: Nu citesc forumu xtreamCS* =]]]
Detinator server CS: In curand
SteamID: Personal
Location: Iasi<3
Has thanked: 68 times
Been thanked: 9 times
Contact:

13 Mar 2014, 16:45

Poti face cv mai special pentru DR?adica am un server si baga 5 T iar restu ct si e respawn tot timpul si ar fi fain ..
Last edited by Ulquiorra on 13 Mar 2014, 18:44, edited 1 time in total.
Reason: zi`mi ce nume sa pun la fiecare echipa si eu ti`l fac..
User avatar
YONTU
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 2466
Joined: 10 May 2013, 14:25
Detinator Steam: Nu
CS Status: Everyone is looking at ur shoes
Reputatie: Moderator ajutator
Fost scripter eXtreamCS
Location: Gura Humorului
Has thanked: 256 times
Been thanked: 288 times
Contact:

13 Mar 2014, 16:55

EcHoO. wrote:O versiune pentru zombie biohazard ? :)) Am pus-o pe aia de ZP SI NU MERGE.
Foloseste versiunea pentru BB :) !

ON: Frumos. :) Nu se compara nici unul ca asta \:d/ !
„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ș


Bio.LeagueCs.Ro - Biohazard v4.4 Xmas Edition
discord: IonutC#5114

Experinta in: Java/Spring boot/Angular/C/C++/C#/Javascript/Python/HTML/CSS/Pawn/SQL
Ai nevoie de ajutorul meu? Ma poti gasi doar la adresa de discord de mai sus.
User avatar
DaNNe.
Fost moderator
Fost moderator
Posts: 2811
Joined: 08 Nov 2013, 20:43
Detinator Steam: Da
CS Status: Activitate scăzută
SteamID: /id/FurienMaster
Reputatie: Nick anterior: DnD. Gold, Emrys
0.5/3
Fost moderator ajutator
Fost Membru Club eXtreamCS (doua luni)
Has thanked: 244 times
Been thanked: 129 times
Contact:

13 Mar 2014, 16:56

Un multumesc face cat o mie de cuvinte ! (Mama, parca vorbesc din carti. ;)) )
Multumim !
User avatar
GiGiX
Membru, skill 0
Membru, skill 0
Posts: 33
Joined: 08 Mar 2014, 23:59
Detinator Steam: Nu
CS Status: Incepator AmxScripter
Detinator server CS: In Constructie
Location: Oriunde
Has thanked: 11 times
Been thanked: 3 times
Contact:

13 Mar 2014, 17:30

Super Tare Bravo Pentru efortul depus =D>
User avatar
^ionutz^
Fost moderator
Fost moderator
Posts: 1995
Joined: 05 Oct 2013, 15:12
Detinator Steam: Da
CS Status: activitate scazuta !
SteamID: /id/ionutz_cs/
Reputatie: Fost moderator ajutator
Location: Galati
Has thanked: 46 times
Been thanked: 23 times

13 Mar 2014, 19:10

frumos vb \m/
Last edited by DaNNe. on 13 Mar 2014, 19:36, edited 1 time in total.
Reason: Bv* :)))
Post Reply

Return to “Pluginuri eXtream”

  • Information
  • Who is online

    Users browsing this forum: Petal [Bot] and 21 guests