1. sayfa (Toplam 2 sayfa)

Admin Radar

Gönderilme zamanı: Pzt Şub 20, 2017 11:40 am
gönderen TunnS[C]
İsmi :Admin Radar
Yapimci :BlueRaja
Açıklama :Adminler rakip takımın oyuncularini radarda görebilicek.

Fotororaf
Adsız.png

Admin Radar

Gönderilme zamanı: Pzt Şub 20, 2017 2:29 pm
gönderen axe01
Paylasım için teşekkürler

Admin Radar

Gönderilme zamanı: Pzt Şub 20, 2017 4:23 pm
gönderen ulyoS
Bi bakıma benim her zaman istediğim şeylerden bir tanesi wall yerine geçmekte :D

Admin Radar

Gönderilme zamanı: Pzt Şub 20, 2017 4:39 pm
gönderen Komando_HerCuLeS
KARDESİM USTTEKI SKOR PLUGININI PAYLASABILIRMISIN
ONU KAC AYDIR ARIYORUM FAKAT BULAMIYORUM?
EGER PAYLASIRSAN COK TSKKR EDERM

Admin Radar

Gönderilme zamanı: Pzt Şub 20, 2017 4:41 pm
gönderen ulyoS
Komando_HerCuLeS yazdı:KARDESİM USTTEKI SKOR PLUGININI PAYLASABILIRMISIN
ONU KAC AYDIR ARIYORUM FAKAT BULAMIYORUM?
EGER PAYLASIRSAN COK TSKKR EDERM
Buyur Bende Şöyle Bir Tane Mevcut

Kod: Tümünü seç

/* Plugin generated by AMXX-Studio */

	#include < amxmodx >
	#include < dhudmessage >
	
	#pragma semicolon 1

		// --| Credite lui CryWolf pentru 'layout' !!
	new const
		PLUGIN_NAME[ ] 		= "Furien Score & Round",
		PLUGIN_VERSION[ ] 	= "0.2.1";
	
	/* Copyright (c) 2013 Askhanar  @eXtreamCS.com
	
	www.eXtreamCS.com/forum
	www.amxmodx.org
	www.amxmodx.ro
	
	*/
	
	
	// --| Culorile in RRR GGG BBB ( poate fi luata si in paint ).
	// --| Aici sunt culorile de la mesajele: Furien  AntiFurien si Round
	
	#define	iNameRed	0
	#define	iNameGreen	255
	#define	iNameBlue	255
	
	// --| Culorile in RRR GGG BBB ( poate fi luata si in paint ).
	// --| Aici sunt culorile de la mesajele: numarul de castiguri si runde.
	
	#define	iScoreRed	255
	#define	iScoreGreen	0
	#define	iScoreBlue	0
	
	new const
		g_szTeamsMessage[ ] 	= "    |-  Terrorist           AntiTerrorist  -|    ",
		g_szScoreMessage[ ]	= "%02i                                                %02i",
		g_szRoundMessage[ ]	= "                  Round                     ",
		g_szRound[ ]		= "                    %02i                       ";
		
		
	enum _:iTeamWons
	{
		FURIEN,
		ANTIFURIEN
	}
	
	new g_iTeamWons[ iTeamWons ];
	new g_iRounds;
	
	new SyncHudTeamNames, SyncHudTeamScore;
			
				
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[ FURIEN ] = 0;
	g_iTeamWons[ ANTIFURIEN ] = 0;
	
	SyncHudTeamNames = CreateHudSyncObj( );
	SyncHudTeamScore = CreateHudSyncObj( );
	
	
	set_task( 1.0, "task_DisplayHudScore", _, _, _, "b", 0 );
	// Add your code here...
}


public ev_NewRound( )		g_iRounds++;
public ev_RoundRestart( )	{	g_iRounds = 0;	g_iTeamWons[ FURIEN ] = 0;	g_iTeamWons[ ANTIFURIEN ] = 0;	}
public ev_TerroristWin( )	g_iTeamWons[ FURIEN ]++;
public ev_CtWin( )	g_iTeamWons[ ANTIFURIEN ]++;

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 ];
		
		if( 1 <= get_user_team( id ) <= 3 )
		{
			set_hudmessage( iNameRed, iNameGreen, iNameBlue, -1.0, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 1.0, _, _, 2 );
			ShowSyncHudMsg( id, SyncHudTeamNames, g_szTeamsMessage );
			
			set_hudmessage( iScoreRed, iScoreGreen, iScoreBlue, -1.0, is_user_alive( id ) ? 0.01 : 0.16 , 0, _, 1.0, _, _, 3 );
			ShowSyncHudMsg( id, SyncHudTeamScore, g_szScoreMessage,  g_iTeamWons[ FURIEN ], g_iTeamWons[ ANTIFURIEN ]  );
			
			
			set_dhudmessage( iNameRed, iNameGreen, iNameBlue, -1.0, is_user_alive( id ) ? 0.03 : 0.18 , 0, _, 1.0, _, _ );
			show_dhudmessage( id, g_szRoundMessage );
			
			set_dhudmessage( iScoreRed, iScoreGreen, iScoreBlue, -1.0, is_user_alive( id ) ? 0.06 : 0.21 , 0, _, 1.0, _, _ );
			show_dhudmessage( id, g_szRound, g_iRounds );
		}
	
	}
}

Admin Radar

Gönderilme zamanı: Pzt Şub 20, 2017 4:50 pm
gönderen TunnS[C]
Buyur

Admin Radar

Gönderilme zamanı: Pzt Nis 03, 2017 6:58 pm
gönderen MehmetReis-
TunnS[C] yazdı:İsmi :Admin Radar
Yapimci :BlueRaja
Açıklama :Adminler rakip takımın oyuncularini radarda görebilicek.

Fotororaf
Adsız.png
yaptım fakat resimdeki gibi radar olmuyor.

Admin Radar

Gönderilme zamanı: Pzt Nis 03, 2017 6:59 pm
gönderen TunnS[C]
Resimdeki radar zaten olmucak.O radar benim kendi cs min .spr si bu plugin rakip takimi radarda gosterir.

Admin Radar

Gönderilme zamanı: Pzr Eyl 10, 2017 9:29 pm
gönderen ennes12bn
tşk

Admin Radar

Gönderilme zamanı: Pzr Eyl 10, 2017 9:33 pm
gönderen ennes12bn
hevesle indirdik çalışmadı