Cerere Plugin

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
MitZzA
Membru, skill 0
Membru, skill 0
Posts: 21
Joined: 14 Jul 2012, 21:04
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 1 time
Contact:

14 Jul 2012, 21:09

Salut as dori si eu un plugin care sa apara in fata numelui [Detinator] [Owner] [Co-Owner] etc daca nu sa fie pur si simplu asa intr-un tabel bag eu ala in amxx.cfg dar va rog daca stiti ceva cu [Detinator] [Owner]
Uitati aici gradele multumesc
new GroupNames[GROUPS_NAME][] = {
"Detinator",
"Owneri",
"Co-Owner",
"God",
"Semi-GoD",
"Super-Moderator",
"Moderatori",
"Administratori",
"Admin in Probe",
"Helper",
"Sloturi"
}
new g_groupFlags[MAX_GROUPS][] = {
"abcdefghijklmnopqrstu",
"bcdefghijklmnopqrst",
"bcdefghijklmnopqr",
"bcdefghijlmnopq",
"bcdefgijmnopqr",
"bcdefgijmnopq",
"bcdefgijmno",
"bcdefgijm",
"bcdefgij";
"bcdefg",
"b"
}

new GroupFlagsValue[GROUPS_NAME]
RoyalServer 2
MitZzA
Membru, skill 0
Membru, skill 0
Posts: 21
Joined: 14 Jul 2012, 21:04
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 1 time
Contact:

15 Jul 2012, 00:01

Se uita cineva aici va rogg scuze de 2x post dar am nevoie de ajutor si in prezent sunteti cea mai buna comunitate de CS
User avatar
online
Membru, skill +1
Membru, skill +1
Posts: 206
Joined: 25 Mar 2010, 14:15
Detinator Steam: Da
CS Status: furien.cs1.ro
Detinator server CS: da
SteamID: pointz0r69
Has thanked: 13 times
Been thanked: 6 times

15 Jul 2012, 00:04

Nu cred ca iti cadea mana daca dadeai un search :) - http://www.extreamcs.com/forum/cereri-c ... 58463.html
Image
Image
Image
MitZzA
Membru, skill 0
Membru, skill 0
Posts: 21
Joined: 14 Jul 2012, 21:04
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 1 time
Contact:

15 Jul 2012, 12:58

eU VREAU CU GRADURILE ALEA DE SUS MA :| NU CU ALEA:|
User avatar
tre3fla
Membru eXtream
Membru eXtream
Posts: 5317
Joined: 27 May 2012, 11:15
Detinator Steam: Da
CS Status: Allah Akbar !
Detinator server CS: Nu
SteamID: /id/tre3fla_xxx
Has thanked: 14 times
Been thanked: 129 times

15 Jul 2012, 13:44

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

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

#define	GROUPS	11

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

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

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

#define	GROUPS	11

new const g_Flags[ GROUPS ][ ] =
{
	"abcdefghijklmnopqrstu",
        "bcdefghijklmnopqrst",
        "bcdefghijklmnopqr",
        "bcdefghijlmnopq",
        "bcdefgijmnopqr",
        "bcdefgijmnopq",
        "bcdefgijmno",
        "bcdefgijm",
        "bcdefgij";
        "bcdefg",
        "b"
};

new const g_Groups[ GROUPS ][ ] =
{
	"Detinator",
        "Owneri",
        "Co-Owner",
        "God",
        "Semi-GoD",
        "Super-Moderator",
        "Moderatori",
        "Administratori",
        "Admin in Probe",
        "Helper",
        "Sloturi"
};

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

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;
}


Cu gradele si accesele cerute...
MitZzA
Membru, skill 0
Membru, skill 0
Posts: 21
Joined: 14 Jul 2012, 21:04
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 1 time
Contact:

15 Jul 2012, 16:06

Si astea le bag in ?:-??
User avatar
tre3fla
Membru eXtream
Membru eXtream
Posts: 5317
Joined: 27 May 2012, 11:15
Detinator Steam: Da
CS Status: Allah Akbar !
Detinator server CS: Nu
SteamID: /id/tre3fla_xxx
Has thanked: 14 times
Been thanked: 129 times

15 Jul 2012, 16:19

| Afiseaza codul
http://www.girlshare.ro/4226677.4

Descarci pluginul, bagi fisieru .amxx in addons/plugin si .sma in addons/scripting.
Intri in addons/configs,deschizi fisierul Plugins.ini si al sfarsitul lui adaugi cfg_rangchat.amxx
User avatar
Rap^
Membru, skill +2
Membru, skill +2
Posts: 621
Joined: 01 Oct 2011, 00:25
Detinator Steam: Da
Reputatie: Fost Scripter eXtreamCS
Fost Super moderator
Location: Bucuresti
Has thanked: 16 times
Been thanked: 156 times

16 Jul 2012, 16:53

MitZzA wrote:Si astea le bag in ?:-??
Asta nu stie nici sa bage un plugin pe server. Nu stiu de ce va mai bateti capul cu el.
Imagination is more important than knowledge.
Knowledge is limited - Imagination encircles the world.
User avatar
K1d0x
Fost moderator
Fost moderator
Posts: 800
Joined: 26 Feb 2012, 15:57
Detinator Steam: Da
CS Status: We Build Together ;3 RedFear
Detinator server CS: PuB.RedFear.Ro
SteamID: k1dox
Reputatie: Fost moderator ajutator
Location: Reșița
Been thanked: 152 times
Contact:

16 Jul 2012, 17:17

Rap^ wrote:
MitZzA wrote:Si astea le bag in ?:-??
Asta nu stie nici sa bage un plugin pe server. Nu stiu de ce va mai bateti capul cu el.
De parca tu te-ai nascut invatat si inteligent, mai uita-te si in gradina ta inainte sa vorbesti aiurea :-j
Image
32slots.net - Sursa ta de încredere de KIT-uri CS 1.6
RedFear.Ro România - | Afiseaza codul
Vă aştept cu un Register pe Forum
- Suntem în căutare de Dezvoltatori & Administratori :
HTML
PHP
MYSQL
C++
Ofer Server CS spre administrare | Afiseaza codul
Condiții : 
- Să dispui de timp liber
- Să ai cunoștințe AMXX & HLDS
Boostul este asigurat de către Mine (PM pentru. detalii)
[email protected]
User avatar
Rap^
Membru, skill +2
Membru, skill +2
Posts: 621
Joined: 01 Oct 2011, 00:25
Detinator Steam: Da
Reputatie: Fost Scripter eXtreamCS
Fost Super moderator
Location: Bucuresti
Has thanked: 16 times
Been thanked: 156 times

16 Jul 2012, 17:39

K1d0x wrote:
Rap^ wrote:
MitZzA wrote:Si astea le bag in ?:-??
Asta nu stie nici sa bage un plugin pe server. Nu stiu de ce va mai bateti capul cu el.
De parca tu te-ai nascut invatat si inteligent, mai uita-te si in gradina ta inainte sa vorbesti aiurea :-j
Ba omule nu te mai baga traiti-ar tie
Imagination is more important than knowledge.
Knowledge is limited - Imagination encircles the world.
User avatar
K1d0x
Fost moderator
Fost moderator
Posts: 800
Joined: 26 Feb 2012, 15:57
Detinator Steam: Da
CS Status: We Build Together ;3 RedFear
Detinator server CS: PuB.RedFear.Ro
SteamID: k1dox
Reputatie: Fost moderator ajutator
Location: Reșița
Been thanked: 152 times
Contact:

16 Jul 2012, 19:02

Rap^ wrote:Ba omule nu te mai baga traiti-ar tie
Cum sa nu ma bag cand te dai atat de important? si vorbesti de altii dar la tine nu te uiti ca esti penibil.
Image
32slots.net - Sursa ta de încredere de KIT-uri CS 1.6
RedFear.Ro România - | Afiseaza codul
Vă aştept cu un Register pe Forum
- Suntem în căutare de Dezvoltatori & Administratori :
HTML
PHP
MYSQL
C++
Ofer Server CS spre administrare | Afiseaza codul
Condiții : 
- Să dispui de timp liber
- Să ai cunoștințe AMXX & HLDS
Boostul este asigurat de către Mine (PM pentru. detalii)
[email protected]
Post Reply

Return to “Cereri”

  • Information
  • Who is online

    Users browsing this forum: Dot [Bot] and 13 guests