Admins Only

In jos

descarca Admins Only

Mesaj Scris de DarkArms la data de Dum Noi 13, 2016 6:50 pm

Descriere: cand un admin cu flagul "B" [ SLOT ] va scrie /admins, ii se va afisa un mesaj cu parola din sectiunea Admins Only de pe forum.

Descarcare:
Spoiler:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>

#define PLUGIN "New Plug-In"
#define VERSION "0.Ox"
#define AUTHOR "Infinity"


public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)

register_clcmd ( "say /adminsonly", "fPrintCustomText" );
register_clcmd ( "say adminsonly", "fPrintCustomText" );
}

public fPrintCustomText ( id ) {

if ( get_user_flags ( id ) & ADMIN_RESERVATION ) {

chat_color ( id, "!g[NORD.INDUNGI.RO]!n Parola sectiunii Admins Only este:!g ..." );
}

return 1;
}

stock chat_color(const id, const input[], any:...)
{
new count = 1, players[32]
static msg[320]
vformat(msg, 190, input, 3)
replace_all(msg, 190, "!g", "^4")
replace_all(msg, 190, "!n", "^1")
replace_all(msg, 190, "!t", "^3")
replace_all(msg, 190, "!t2", "^0")

if (id)
players[0] = id;
else
get_players(players, count, "ch")


for (new i = 0; i < count; i++)
{
if (is_user_connected(players[i]))
{
message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i])
write_byte(players[i])
write_string(msg)
message_end()
}
}
}

Nume: Admins Only
Versiune: 1.0
Link oficial: aici

Instalare:
1. Fisierul AdminsOnly.sma il puneti in addons/amxmodx/scripting
2. Fisierul AdminsOnly.amxx il puneti in addons/amxmodx/plugins
3. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati la urma:
Cod:
AdminsOnly.amxx

Cvar-uri (se adauga in fisierul amxmodx\configs\amxx.cfg): -

Comenzi administrative (se tasteaza in consola si trebuie sa fiti administrator): -

Comenzi publice (se tasteaza in joc prin apasarea tastei Y):
- /adminsonly
- adminsonly

Module necesare (se sterge ; din fata modulului de mai jos; acestea le gasiti in fisierul amxmodx\configs\modules.ini): -

Imagini: -

DarkArms
Founders
Founders

Mesaje : 226
Data de inscriere : 23/09/2016
Varsta : 16
Localizare : Terra

http://lowgamers.forumgratuit.ro

Sus In jos

descarca Re: Admins Only

Mesaj Scris de Dracu la data de Dum Noi 13, 2016 9:30 pm

Good Job!
avatar
Dracu
Moderators
Moderators

Mesaje : 193
Data de inscriere : 11/11/2016

Sus In jos

descarca Re: Admins Only

Mesaj Scris de Tipu la data de Mier Noi 23, 2016 1:29 pm

Good Job!
avatar
Tipu
Administrators
Administrators

Mesaje : 151
Data de inscriere : 22/11/2016

Sus In jos

descarca Re: Admins Only

Mesaj Scris de CelRau la data de Dum Noi 27, 2016 7:54 pm

Good Job!
avatar
CelRau
Registered user
Registered user

Mesaje : 184
Data de inscriere : 26/11/2016

Sus In jos

descarca Re: Admins Only

Mesaj Scris de Continut sponsorizat


Continut sponsorizat


Sus In jos

Sus


 
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum