Problema Plugin

Discutii legate de instalarea, configurarea si modificarea unui server de Counter-Strike.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Post Reply
S.W.A.T.
Membru, skill 0
Membru, skill 0
Posts: 59
Joined: 01 Aug 2009, 23:18
Detinator Steam: Nu
CS Status: SupaRat:(
Detinator server CS: 78.97.12.84:27015
Location: sIgHeTu mArMaTiEi

12 Nov 2009, 23:20

Salut
am pus 2-3 pluginuri pe server si imi tot apare asa http://img214.imageshack.us/img214/6356 ... 20000b.png
La fel si pentru pluginul duel in cutite
Ma ajuta cineva
Multumesc
Image
RoyalServer
User avatar
z1z0u
Utilizator neserios (tepar)
Utilizator neserios (tepar)
Posts: 1193
Joined: 25 Mar 2008, 11:02
Detinator Steam: Da
CS Status: BangBangYou'reDead
Reputatie: Fost eXtream mod
Utilizator neserios (tepar) - temporar
Location: Radauti
Has thanked: 13 times
Been thanked: 12 times

12 Nov 2009, 23:39

Trebuie sa editezi SMA.
Daca nu stii posteaza sma aici.
http://www.eXtreamHost.com - Hostinguri la preturi avantajoase!
http://www.eXtreamShop.com - Magazin virtual cu plati prin SMS!
http://www.eXtreamPortal.com - Portalul eXtream!
My grandpa said to my father: "You should see how Pele played".
My father said to me: "You should see how Maradona played".
I will say to my son: "You should see how Zidane played".
S.W.A.T.
Membru, skill 0
Membru, skill 0
Posts: 59
Joined: 01 Aug 2009, 23:18
Detinator Steam: Nu
CS Status: SupaRat:(
Detinator server CS: 78.97.12.84:27015
Location: sIgHeTu mArMaTiEi

13 Nov 2009, 00:39

Frate da l-am editat oricum

Code: Select all

#include <amxmodx>

/*---------------EDIT ME------------------*/
#define ADMIN_CHECK ADMIN_KICK

static const COLOR[] = "^x04" //green
static const CONTACT[] = ""
/*----------------------------------------*/

new maxplayers
new gmsgSayText

public plugin_init() {
	register_plugin("Admin Check", "1.51", "OneEyed")
	maxplayers = get_maxplayers()
	gmsgSayText = get_user_msgid("SayText")
	register_clcmd("say", "handle_say")
	register_cvar("amx_contactinfo", CONTACT, FCVAR_SERVER)
}

public handle_say(id) {
	new said[192]
	read_args(said,192)
	if( ( containi(said, "who") != -1 && containi(said, "admin") != -1 ) || contain(said, "/admin") != -1 )
		set_task(0.1,"print_adminlist",id)
	return PLUGIN_CONTINUE
}

public print_adminlist(user) 
{
	new adminnames[33][32]
	new message[256]
	new contactinfo[256], contact[112]
	new id, count, x, len
	
	for(id = 1 ; id <= maxplayers ; id++)
		if(is_user_connected(id))
			if(get_user_flags(id) & ADMIN_CHECK)
				get_user_name(id, adminnames[count++], 31)

	len = format(message, 255, " <-- ADMINi ONLINE -->: ",COLOR)
	if(count > 0) {
		for(x = 0 ; x < count ; x++) {
			len += format(message[len], 255-len, "%s%s ", adminnames[x], x < (count-1) ? ", ":"")
			if(len > 96 ) {
				print_message(user, message)
				len = format(message, 255, "%s ",COLOR)
			}
		}
		print_message(user, message)
	}
	else {
		len += format(message[len], 255-len, " <-- Nu sunt admini online. -->")
		print_message(user, message)
	}
	
	get_cvar_string("amx_contactinfo", contact, 63)
	if(contact[0])  {
		format(contactinfo, 111, "%s Contact Server Admin -- %s", COLOR, contact)
		print_message(user, contactinfo)
	}
}

print_message(id, msg[]) {
	message_begin(MSG_ONE, gmsgSayText, {0,0,0}, id)
	write_byte(id)
	write_string(msg)
	message_end()
}
Vezi nu apare nici un Laleagane tampit(scuze de expresie dar ma tot enerveaza cand vad prostia aia)
Image
User avatar
z1z0u
Utilizator neserios (tepar)
Utilizator neserios (tepar)
Posts: 1193
Joined: 25 Mar 2008, 11:02
Detinator Steam: Da
CS Status: BangBangYou'reDead
Reputatie: Fost eXtream mod
Utilizator neserios (tepar) - temporar
Location: Radauti
Has thanked: 13 times
Been thanked: 12 times

13 Nov 2009, 01:30

Dupa ce ai editat SMA , ai compilat pluginul?
Daca nu stii cum uite aici un tutorial http://www.extreamcs.com/forum/viewtopic.php?f=38&t=24
http://www.eXtreamHost.com - Hostinguri la preturi avantajoase!
http://www.eXtreamShop.com - Magazin virtual cu plati prin SMS!
http://www.eXtreamPortal.com - Portalul eXtream!
My grandpa said to my father: "You should see how Pele played".
My father said to me: "You should see how Maradona played".
I will say to my son: "You should see how Zidane played".
zinNN4cs
Membru, skill 0
Membru, skill 0
Posts: 57
Joined: 09 Nov 2009, 18:57
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com !
Detinator server CS: Nu !
Location: Acasa...
Been thanked: 2 times
Contact:

13 Nov 2009, 07:34

Pui in amxx.cfg

Code: Select all

amx_contactinfo TEXT
.
M-am gandit toata saptamana la semnatura asta !

Image
Post Reply

Return to “Probleme la servere dedicate de Counter-Strike”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 113 guests