Jump to content

Passworld Staff Only 1.8.3

   (1 review)
Sign in to follow this  

1 Screenshot

About This File

Descriere:

Acest plugin afiseaza parola de la sectiunea Admin Only de pe forum/ts3, daca un player cu un anumit flag setat de voi (defaut este "b", Slot) tasteaza /adminsonly afiseaza parola setata de Dvs.

 

Instalare:

 

1. Compliati fisierul adminonly.sma 
2. Fisierul adminonly.amxx il puneti in addons/amxmodx/plugins
3. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati la urma: adminonly.amxx

 

Instructiuni de editare parola:

 

1. Deshideti fisierul .sma, cautati linia nr 21.

2. Dupa ce ati gasit linia de mai sus, o sa va uitati dupa paragraful de mai jos si editati parola unde este marcat cu visiniu.

chat_color ( id, "!g[Echipa Asistenta]!n Parola sectiunii Admins Only este:!g parola" );

3. Salvati si compliati online sau local.


What's New in Version 1.8.3   See changelog

Released

Versiune Actualizata de Jica Macelarul.

  • Like 1



User Feedback

Recommended Comments

Mai simplu (cvar, fara stock de colorchat, fara modificari de sma)

183+

#include amxmodx

#define PLUGIN "Admins Only"
#define VERSION "1.0"
#define AUTHOR "Andy"

new g_Cvar[2];

public plugin_init()
{
	register_plugin PLUGIN, VERSION, AUTHOR;
	
	register_clcmd "say /adminsonly", "fPrintCustomText";
	register_clcmd "say adminsonly", "fPrintCustomText";
	
	g_Cvar[0] = register_cvar("ao_tag", "INDUNGI.RO");
	g_Cvar[1] = register_cvar("ao_pass", "PAROLA");
}

public fPrintCustomText(id)
{
	new TAG[32],
		PASS[32];

	get_pcvar_string g_Cvar[0], TAG, charsmax(TAG);
	get_pcvar_string g_Cvar[1], PASS, charsmax(PASS);
	
	if(get_user_flags(id) & ADMIN_RESERVATION)
		client_print_color id, print_team_default, "^4[%s] ^1Parola sectiunii ^4Admins Only ^1este: ^3%s", TAG, PASS;
	else
		client_print_color id, print_team_default, "^4[%s] ^1Trebuie sa fii admin pentru a afla parola.", TAG;
}

 

182+

#include amxmodx
#include colorchat

#define PLUGIN "Admins Only"
#define VERSION "1.0"
#define AUTHOR "Andy"

new g_Cvar[2];

public plugin_init()
{
	register_plugin PLUGIN, VERSION, AUTHOR;
	
	register_clcmd "say /adminsonly", "fPrintCustomText";
	register_clcmd "say adminsonly", "fPrintCustomText";
	
	g_Cvar[0] = register_cvar("ao_tag", "INDUNGI.RO");
	g_Cvar[1] = register_cvar("ao_pass", "PAROLA");
}

public fPrintCustomText(id)
{
	new TAG[32],
		PASS[32];

	get_pcvar_string g_Cvar[0], TAG, charsmax(TAG);
	get_pcvar_string g_Cvar[1], PASS, charsmax(PASS);
	
	if(get_user_flags(id) & ADMIN_RESERVATION)
		ColorChat id, GREEN, "[%s] ^1Parola sectiunii ^4Admins Only ^1este: ^3%s", TAG, PASS;
	else
		ColorChat id, GREEN, "[%s] ^1Trebuie sa fii admin pentru a afla parola.", TAG;
}

 

Share this comment


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



Despre noi

Suntem o comunitate aparuta in anul 2010 ce are ca scop sa prezinte si sa aduca in calculatoarele voastre socializare, competitie, public si foarte multa actiune. Alatura-te celor 200.000 de membri iar impreuna vom dezvolta cat mai mult termenul de 'comunitate'

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.