Cerere pluginuri..

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
ZooMl3sS^
Membru, skill +2
Membru, skill +2
Posts: 776
Joined: 22 Apr 2010, 11:23
Detinator Steam: Da
CS Status: Ma joc..
Location: Satu-Mare
Has thanked: 128 times
Been thanked: 22 times

22 Dec 2010, 15:54

Salut .

Am nevoie si eu de 3 pluginuri .

[1].Am nevoie de acel plugin cand arunci o grenada (smoke, flash, he) sa scrie Pazeeaaaaa ! arunc cu HE ! sau depinde de ce grenada arunc..sau daca nu sep oate asa, sa scrie macar Fire in the hole ! explosive sau depinde de grenada
[2].Am nevoie de acel plugin care cand scrie un admin (indeferent..say team, admin chat, say,) sa scrie in fata lui [ADMIN] cu verde !
[3].Am nevoie de acel plugin care face cand da cineva un flash din echipa lui el sa nu il primeasca (ca si nu sar intampla nimic .

Ofer multumesc celui care ma ajuta :>
Last edited by CryWolf on 23 Dec 2010, 11:52, edited 1 time in total.
Reason: Nu mai folositi BOLD. EDITAT!
RoyalServer 2
User avatar
PKK.
Membru, skill +2
Membru, skill +2
Posts: 522
Joined: 09 Oct 2010, 21:59
Detinator Steam: Da
SteamID: pkk08
Location: Piatra Neamt
Has thanked: 65 times
Been thanked: 41 times

22 Dec 2010, 16:05

User avatar
ZooMl3sS^
Membru, skill +2
Membru, skill +2
Posts: 776
Joined: 22 Apr 2010, 11:23
Detinator Steam: Da
CS Status: Ma joc..
Location: Satu-Mare
Has thanked: 128 times
Been thanked: 22 times

22 Dec 2010, 16:11

Multumesc .

Ai primit un multumesc :D
User avatar
evrolinKK
Membru, skill +2
Membru, skill +2
Posts: 688
Joined: 25 Feb 2008, 10:45
Detinator Steam: Da
Reputatie: Membru Club eXtreamCS (2 luni)
Nume anterior : EvroLink
Ban 3 luni ! (expirat)
Has thanked: 12 times
Been thanked: 23 times

22 Dec 2010, 17:11

User avatar
ZooMl3sS^
Membru, skill +2
Membru, skill +2
Posts: 776
Joined: 22 Apr 2010, 11:23
Detinator Steam: Da
CS Status: Ma joc..
Location: Satu-Mare
Has thanked: 128 times
Been thanked: 22 times

22 Dec 2010, 17:45

Multumesc .

Ai primit si tu un multumesc :D
User avatar
S3ekEr^
Utilizator neserios (tepar)
Utilizator neserios (tepar)
Posts: 3475
Joined: 06 Dec 2009, 12:47
Detinator Steam: Nu
Reputatie: Nume anterior: The Seeker , Reptyle
Fost Scripter
Fost super moderator
Utilizator neserios ( tepar )
Has thanked: 117 times
Been thanked: 329 times

22 Dec 2010, 18:30

2.
| Afiseaza codul
#include < amxmodx >
#include < amxmisc >

#define PLUGIN "CFG RangChat"
#define VERSION "1.0"
#define AUTHOR "aNNakin"

#define	GROUPS	6

enum Color
{
	NORMAL = 1,
	GREEN,
	TEAM_COLOR,
	GREY,
	RED,
	BLUE,
}

new TeamName[ ][ ] = 
{
	"",
	"TERRORIST",
	"CT",
	"SPECTATOR"
}

// - - - - - - - - - - -

#define	GROUPS	6

new const g_Flags[ GROUPS ][ ] =
{
	"abcdefghijklmnopqrstu",
	"bcdefghijklmnopqrst",
	"bcdefghijmnopqrst",
	"bcdefgijnopqrst",
	"bcijnopqrst",
	"b"
};

new const g_Groups[ GROUPS ][ ] =
{
	"[ADMIN]",
	"[ADMIN]",
	"[ADMIN]",
	"[ADMIN]",
	"[ADMIN]",
	"[ADMIN]"
};

// - - - - - - - - - - -

new g_FlagsValue[ GROUPS ];

new bool:g_IsConnected[ 33 ];
new SayText, TeamInfo, g_maxplayers;

public plugin_init ( )
{
	register_plugin ( PLUGIN, VERSION, AUTHOR );
	
	register_clcmd ( "say", "hook_say" );
	
	for ( new i; i < GROUPS; i++ )
		g_FlagsValue[ i ] = read_flags ( g_Flags[ i ] );
		
	SayText = get_user_msgid ( "SayText" );
	TeamInfo = get_user_msgid ( "TeamInfo" );
	g_maxplayers = get_maxplayers ( );
}

public client_putinserver ( e_Index ) g_IsConnected[ e_Index ] = true;
public client_disconnect ( e_Index ) g_IsConnected[ e_Index ] = false;

public hook_say ( e_Index )
{
	static s_Said[ 192 ];
	read_args ( s_Said, charsmax ( s_Said ) );
	
	if ( equal ( s_Said, "" ) )
		return PLUGIN_CONTINUE;
	remove_quotes ( s_Said );
	
	static s_Name[ 32 ], i;
	get_user_name ( e_Index, s_Name, 31 );
	
	for ( i = 0; i < GROUPS; i++ )
		if ( get_user_flags ( e_Index ) == g_FlagsValue[ i ] )
		{
			ColorChat ( 0, TEAM_COLOR, "^x01*^x04%s^x01*^x03%s^x01: %s", g_Groups[ i ], s_Name, s_Said );
			break;
		}
		
	return ( i < GROUPS ) ? PLUGIN_HANDLED : PLUGIN_CONTINUE;
}

public ColorChat ( id, Color:type, const msg[], { Float, Sql, Result, _ }:... )
{
	static message[ 256 ];

	switch ( type )
	{
		case NORMAL:
			message[ 0 ] = 0x01;
		case GREEN:
			message[ 0 ] = 0x04;
		default:
			message[ 0 ] = 0x03;
	}

	vformat ( message[ 1 ], 251, msg, 4 );
	message[ 192 ] = '^0';

	new team, ColorChange, index, MSG_Type;
	
	if ( id )
	{
		MSG_Type = MSG_ONE;
		index = id;
	}
	else
	{
		index = FindPlayer ( );
		MSG_Type = MSG_ALL;
	}
	
	team = get_user_team ( index );	
	ColorChange = ColorSelection ( index, MSG_Type, type );

	ShowColorMessage ( index, MSG_Type, message );
		
	if ( ColorChange )
		Team_Info ( index, MSG_Type, TeamName[ team ] );
}

ShowColorMessage ( id, type, message[] )
{
	message_begin ( type, SayText, _, id );
	write_byte ( id )		
	write_string ( message );
	message_end ( );	
}

Team_Info ( id, type, team[] )
{
	message_begin ( type, TeamInfo, _, id );
	write_byte ( id );
	write_string ( team );
	message_end ( );

	return 1;
}

ColorSelection ( index, type, Color:Type )
{
	switch ( Type )
	{
		case RED:
			return Team_Info ( index, type, TeamName[ 1 ] );
		case BLUE:
			return Team_Info ( index, type, TeamName[ 2 ] );
		case GREY:
			return Team_Info ( index, type, TeamName[ 0 ] );
	}
	return 0;
}

public FindPlayer ( )
{	
	for ( new i = 1; i <= g_maxplayers; i++ )
		if ( g_IsConnected[ i ] )
			return i;
	
	return -1;
}
User avatar
ZooMl3sS^
Membru, skill +2
Membru, skill +2
Posts: 776
Joined: 22 Apr 2010, 11:23
Detinator Steam: Da
CS Status: Ma joc..
Location: Satu-Mare
Has thanked: 128 times
Been thanked: 22 times

22 Dec 2010, 18:35

Imi da eroare la compilare :(
User avatar
S3ekEr^
Utilizator neserios (tepar)
Utilizator neserios (tepar)
Posts: 3475
Joined: 06 Dec 2009, 12:47
Detinator Steam: Nu
Reputatie: Nume anterior: The Seeker , Reptyle
Fost Scripter
Fost super moderator
Utilizator neserios ( tepar )
Has thanked: 117 times
Been thanked: 329 times

22 Dec 2010, 18:39

ZooMl3sS^ wrote:Imi da eroare la compilare :(
--> AMXX
User avatar
evrolinKK
Membru, skill +2
Membru, skill +2
Posts: 688
Joined: 25 Feb 2008, 10:45
Detinator Steam: Da
Reputatie: Membru Club eXtreamCS (2 luni)
Nume anterior : EvroLink
Ban 3 luni ! (expirat)
Has thanked: 12 times
Been thanked: 23 times

22 Dec 2010, 18:39

ZooMl3sS^ wrote:Imi da eroare la compilare :(
Ti l-am compilat eu http://www.amxmodx.org/webcompiler.cgi?go=dl&id=1058099 .
User avatar
S3ekEr^
Utilizator neserios (tepar)
Utilizator neserios (tepar)
Posts: 3475
Joined: 06 Dec 2009, 12:47
Detinator Steam: Nu
Reputatie: Nume anterior: The Seeker , Reptyle
Fost Scripter
Fost super moderator
Utilizator neserios ( tepar )
Has thanked: 117 times
Been thanked: 329 times

22 Dec 2010, 18:42

evrolinKK wrote:
ZooMl3sS^ wrote:Imi da eroare la compilare :(
Ti l-am compilat eu http://www.amxmodx.org/webcompiler.cgi?go=dl&id=1058099 .
Doamne de ce faci + 1 aiurea :-j ? n-ai vazut ca postasem eu inainte ?
User avatar
evrolinKK
Membru, skill +2
Membru, skill +2
Posts: 688
Joined: 25 Feb 2008, 10:45
Detinator Steam: Da
Reputatie: Membru Club eXtreamCS (2 luni)
Nume anterior : EvroLink
Ban 3 luni ! (expirat)
Has thanked: 12 times
Been thanked: 23 times

22 Dec 2010, 19:52

S3ekEr^ wrote:
evrolinKK wrote:
ZooMl3sS^ wrote:Imi da eroare la compilare :(
Ti l-am compilat eu http://www.amxmodx.org/webcompiler.cgi?go=dl&id=1058099 .
Doamne de ce faci + 1 aiurea :-j ? n-ai vazut ca postasem eu inainte ?
Tu macar ai vazut ca am postat in acelasi timp ? eu cred ca tu ar trebui sa lasi +1 .
Post Reply

Return to “Cereri”

  • Information