vip connected

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
anaconda cs
Membru, skill +3
Membru, skill +3
Posts: 1045
Joined: 13 Nov 2012, 06:39
Detinator Steam: Da
Detinator server CS: Dr.InDungi.Ro
SteamID: anaconda_indungi
Location: Iasi
Has thanked: 49 times
Been thanked: 45 times
Contact:

15 Oct 2013, 12:01

cum se numea acel plugin cand se conecta un VIP pe sv sa apara asa
http://s11.postimg.org/g5wl8ezbn/de_kabul_320000.png
ms
Image
Image
RoyalServer 2
munir
Membru eXtream
Membru eXtream
Posts: 3193
Joined: 30 Aug 2012, 22: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: 342 times
Been thanked: 571 times
Contact:

15 Oct 2013, 12:18

Lasa-mi flagul / flaguriile la vip.
Retras
User avatar
anaconda cs
Membru, skill +3
Membru, skill +3
Posts: 1045
Joined: 13 Nov 2012, 06:39
Detinator Steam: Da
Detinator server CS: Dr.InDungi.Ro
SteamID: anaconda_indungi
Location: Iasi
Has thanked: 49 times
Been thanked: 45 times
Contact:

15 Oct 2013, 12:19

o
ADMIN_LEVEL_E
ms
Image
Image
munir
Membru eXtream
Membru eXtream
Posts: 3193
Joined: 30 Aug 2012, 22: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: 342 times
Been thanked: 571 times
Contact:

15 Oct 2013, 12:21

| Afiseaza codul
#include < amxmodx >



#define PLUGIN ""
#define VERSION ""


public plugin_init( )
{
	register_plugin( PLUGIN, VERSION, "falseq" );
}

public client_putinserver( id )
{
	new szName[ 32 ];
	get_user_name( id, szName, sizeof( szName ) -1 );
	
	if( get_user_flags( id ) & ADMIN_LEVEL_C 
	|| get_user_flags( id ) & ADMIN_LEVEL_E )
	{
		C_PrintChat( 0, "!e%s!v se conecteaza", szName );
	}
}

stock C_PrintChat( const id, const szInput[ ], any:... )
{
	new iPlayers[ 32 ], iNum = 1;
	
	static szMsg[ 320 ], szMsg2[ 320 ];
	
	vformat( szMsg, sizeof( szMsg ) -130, szInput, 3 );
	format( szMsg2, sizeof( szMsg2 ) -130, "!c[!vVip!c] %s", szMsg );
	
	replace_all( szMsg2, sizeof( szMsg ) -130, "!v", "^x04" );
	replace_all( szMsg2, sizeof( szMsg ) -130, "!c", "^x01" );
	replace_all( szMsg2, sizeof( szMsg ) -130, "!e", "^x03" );
	
	if( id )
	{
		iPlayers[ 0 ] = id;
	}
	
	else
	{
		get_players( iPlayers, iNum, "c" );
	}
	
	for( new i = 0; i < iNum; i++ )
	{
		if( is_user_connected( iPlayers[ i ] ) )
		{
			message_begin( MSG_ONE_UNRELIABLE, get_user_msgid( "SayText" ), _, iPlayers[ i ] );
			
			write_byte( iPlayers[ i ] );
			write_string( szMsg2 );
			
			message_end( );
		}
	}
}
Retras
User avatar
Seve
Utilizator neserios (tepar)
Utilizator neserios (tepar)
Posts: 555
Joined: 18 Aug 2012, 11:19
Detinator Steam: Da
Detinator server CS: GO.PLAYSIBIU.COM
SteamID: sevecsgo
Reputatie: Membru Club eXtreamCS (1 luna)
Utilizator neserios (tepar)
Has thanked: 83 times
Been thanked: 39 times
Contact:

15 Oct 2013, 16:35

falseq wrote:
| Afiseaza codul
#include < amxmodx >



#define PLUGIN ""
#define VERSION ""


public plugin_init( )
{
	register_plugin( PLUGIN, VERSION, "falseq" );
}

public client_putinserver( id )
{
	new szName[ 32 ];
	get_user_name( id, szName, sizeof( szName ) -1 );
	
	if( get_user_flags( id ) & ADMIN_LEVEL_C 
	|| get_user_flags( id ) & ADMIN_LEVEL_E )
	{
		C_PrintChat( 0, "!e%s!v se conecteaza", szName );
	}
}

stock C_PrintChat( const id, const szInput[ ], any:... )
{
	new iPlayers[ 32 ], iNum = 1;
	
	static szMsg[ 320 ], szMsg2[ 320 ];
	
	vformat( szMsg, sizeof( szMsg ) -130, szInput, 3 );
	format( szMsg2, sizeof( szMsg2 ) -130, "!c[!vVip!c] %s", szMsg );
	
	replace_all( szMsg2, sizeof( szMsg ) -130, "!v", "^x04" );
	replace_all( szMsg2, sizeof( szMsg ) -130, "!c", "^x01" );
	replace_all( szMsg2, sizeof( szMsg ) -130, "!e", "^x03" );
	
	if( id )
	{
		iPlayers[ 0 ] = id;
	}
	
	else
	{
		get_players( iPlayers, iNum, "c" );
	}
	
	for( new i = 0; i < iNum; i++ )
	{
		if( is_user_connected( iPlayers[ i ] ) )
		{
			message_begin( MSG_ONE_UNRELIABLE, get_user_msgid( "SayText" ), _, iPlayers[ i ] );
			
			write_byte( iPlayers[ i ] );
			write_string( szMsg2 );
			
			message_end( );
		}
	}
}
Poti face si pentru flagul "T", te rog!
Va astept pe Go.PlaySibiu.Com [RO/128 tickrate]
Image
munir
Membru eXtream
Membru eXtream
Posts: 3193
Joined: 30 Aug 2012, 22: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: 342 times
Been thanked: 571 times
Contact:

15 Oct 2013, 16:51

Seve wrote:
falseq wrote:
| Afiseaza codul
#include < amxmodx >



#define PLUGIN ""
#define VERSION ""


public plugin_init( )
{
	register_plugin( PLUGIN, VERSION, "falseq" );
}

public client_putinserver( id )
{
	new szName[ 32 ];
	get_user_name( id, szName, sizeof( szName ) -1 );
	
	if( get_user_flags( id ) & ADMIN_LEVEL_C 
	|| get_user_flags( id ) & ADMIN_LEVEL_E )
	{
		C_PrintChat( 0, "!e%s!v se conecteaza", szName );
	}
}

stock C_PrintChat( const id, const szInput[ ], any:... )
{
	new iPlayers[ 32 ], iNum = 1;
	
	static szMsg[ 320 ], szMsg2[ 320 ];
	
	vformat( szMsg, sizeof( szMsg ) -130, szInput, 3 );
	format( szMsg2, sizeof( szMsg2 ) -130, "!c[!vVip!c] %s", szMsg );
	
	replace_all( szMsg2, sizeof( szMsg ) -130, "!v", "^x04" );
	replace_all( szMsg2, sizeof( szMsg ) -130, "!c", "^x01" );
	replace_all( szMsg2, sizeof( szMsg ) -130, "!e", "^x03" );
	
	if( id )
	{
		iPlayers[ 0 ] = id;
	}
	
	else
	{
		get_players( iPlayers, iNum, "c" );
	}
	
	for( new i = 0; i < iNum; i++ )
	{
		if( is_user_connected( iPlayers[ i ] ) )
		{
			message_begin( MSG_ONE_UNRELIABLE, get_user_msgid( "SayText" ), _, iPlayers[ i ] );
			
			write_byte( iPlayers[ i ] );
			write_string( szMsg2 );
			
			message_end( );
		}
	}
}
Poti face si pentru flagul "T", te rog!
| Afiseaza codul
#include < amxmodx >



#define PLUGIN ""
#define VERSION ""


public plugin_init( )
{
	register_plugin( PLUGIN, VERSION, "falseq" );
}

public client_putinserver( id )
{
	new szName[ 32 ];
	get_user_name( id, szName, sizeof( szName ) -1 );
	
	if( get_user_flags( id ) & ADMIN_LEVEL_H )
	{
		C_PrintChat( 0, "!e%s!v se conecteaza", szName );
	}
}

stock C_PrintChat( const id, const szInput[ ], any:... )
{
	new iPlayers[ 32 ], iNum = 1;
	
	static szMsg[ 320 ], szMsg2[ 320 ];
	
	vformat( szMsg, sizeof( szMsg ) -130, szInput, 3 );
	format( szMsg2, sizeof( szMsg2 ) -130, "!c[!vVip!c] %s", szMsg );
	
	replace_all( szMsg2, sizeof( szMsg ) -130, "!v", "^x04" );
	replace_all( szMsg2, sizeof( szMsg ) -130, "!c", "^x01" );
	replace_all( szMsg2, sizeof( szMsg ) -130, "!e", "^x03" );
	
	if( id )
	{
		iPlayers[ 0 ] = id;
	}
	
	else
	{
		get_players( iPlayers, iNum, "c" );
	}
	
	for( new i = 0; i < iNum; i++ )
	{
		if( is_user_connected( iPlayers[ i ] ) )
		{
			message_begin( MSG_ONE_UNRELIABLE, get_user_msgid( "SayText" ), _, iPlayers[ i ] );
			
			write_byte( iPlayers[ i ] );
			write_string( szMsg2 );
			
			message_end( );
		}
	}
}
Retras
Cosmin
Fost moderator
Fost moderator
Posts: 9362
Joined: 06 Jul 2013, 22:08
Detinator Steam: Da
Detinator server CS: Nu
Reputatie: Fost eXtream Mod
Fost Scripter eXtreamCS
Nume anterior: scosmynnnn
Has thanked: 492 times
Been thanked: 547 times

15 Oct 2013, 16:56

S'au asa
| Afiseaza codul
#include < amxmodx >



#define PLUGIN ""
#define VERSION ""


public plugin_init( )
{
	register_plugin( PLUGIN, VERSION, "falseq" );
}

public client_putinserver( id )
{
	new szName[ 32 ];
	get_user_name( id, szName, sizeof( szName ) -1 );
	
	 if( get_user_flags( id ) & ADMIN_LEVEL_C || get_user_flags( id ) & ADMIN_LEVEL_H || get_user_flags( id ) & ADMIN_LEVEL_E )
	{
	
		C_PrintChat( 0, "!e%s!v se conecteaza", szName );
	}
}

stock C_PrintChat( const id, const szInput[ ], any:... )
{
	new iPlayers[ 32 ], iNum = 1;
	
	static szMsg[ 320 ], szMsg2[ 320 ];
	
	vformat( szMsg, sizeof( szMsg ) -130, szInput, 3 );
	format( szMsg2, sizeof( szMsg2 ) -130, "!c[!vVip!c] %s", szMsg );
	
	replace_all( szMsg2, sizeof( szMsg ) -130, "!v", "^x04" );
	replace_all( szMsg2, sizeof( szMsg ) -130, "!c", "^x01" );
	replace_all( szMsg2, sizeof( szMsg ) -130, "!e", "^x03" );
	
	if( id )
	{
		iPlayers[ 0 ] = id;
	}
	
	else
	{
		get_players( iPlayers, iNum, "c" );
	}
	
	for( new i = 0; i < iNum; i++ )
	{
		if( is_user_connected( iPlayers[ i ] ) )
		{
			message_begin( MSG_ONE_UNRELIABLE, get_user_msgid( "SayText" ), _, iPlayers[ i ] );
			
			write_byte( iPlayers[ i ] );
			write_string( szMsg2 );
			
			message_end( );
		}
	}
}
Gata cyby am modificat :)) mi-a explicat cineva ce am gresit :)
Last edited by cyby on 15 Oct 2013, 17:11, edited 1 time in total.
Reason: Ai facut de cacao tot.
Post Reply

Return to “Cereri”

  • Information