CsMd-Forum

Bun Venit pe CsMd !
 
AcasaPortalCalendarGalerieFAQCautareMembriGrupuriInregistrareConectare

Distribuiţi | 
 

 /admin plugin

Vezi subiectul anterior Vezi subiectul urmator In jos 
AutorMesaj
^^AntraX^^:)
Moderator
Moderator
avatar

Mesaje : 400
Reputatie : 0
Data registrari : 08/10/2011
Virsta : 20
De unde esti : Galati,Romania

MesajSubiect: /admin plugin   Mar Ian 24, 2012 1:00 am

Am vazut ca multa lume cauta un amx_who bun asa ca va postez aici cateva:

1.

Nume: amx_who
Versiune: 2.0
Autor : No *mErCy*
Download: http://www.girlshare.ro/881135.2


Cod: Selectaţi tot
Owner -- abcdefghijklmnopqrstu
MaresaL -- abcdefghijklmnopqtu
GeneraL --abcdefghijklmnopqr
ColoneL -- abcdefghijklmnopt
Maior -- abcdefghijmnqrst
Sergent -- abcefgijmnoqrs
Soldat -- b


Instalare:
1. Fisierul amx_who.sma il puneti in


Cod: Selectaţi tot
addons/amxmodx/scripting


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


Cod: Selectaţi tot
amx_who.amxx


Comenzi administrative - amx_who - admin_who

2. Sau o alta versiune: new amxx who

Autor: Alka

Aveti aici sursa:
Cod: Selectaţi tot
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New AMXX Who"
#define VERSION "1.0"
#define AUTHOR "Alka"

#define CharsMax(%1) sizeof %1 - 1

#define MAX_GROUPS 11

new g_groupNames[MAX_GROUPS][] = {

"<<<Detinator>>>",
"<<<RevoModerator>>>",
"<<<Zeu>>>",
"<<<SuperModerator>>>",
"<<<Moderator>>>",
"<<<MiniModerator>>>",
"<<<Administrator>>>",
"<<<Helper>>>",
"<<<AdminProba>>>",
"<<<Slot's>>>",
"<<<V>I<P>>>"
}

new g_groupFlags[MAX_GROUPS][] = {

"abcdefghijklmnopqrstu", // <<<Detinator>>>
"abcdefghijklmnopqrs", // <<<RevoModerator>>>
"abcdefghijlmnopqrs", // <<<Zeu>>>
"abcdefghijmnopq", // <<<SuperModerator>>>
"abcdefgijmnopq", // <<<Moderator>>>
"abcdefijmnop", // <<<MiniModerator>>>
"abcdefijmn", // <<<Administrator>>>
"abcdeijm", // <<<Helper>>>
"abcdej", // <<<AdminProba>>>
"abc", // <<<Slot's>>>
"ab" //<<<V>I<P>>>
}

new g_groupFlagsValue[MAX_GROUPS];

public plugin_init() {

register_plugin(PLUGIN, VERSION, AUTHOR);

for(new i = 0 ; i < MAX_GROUPS ; i++)
g_groupFlagsValue[i] = read_flags(g_groupFlags[i]);

register_clcmd("amx_who", "cmdWho", -1, "");
register_clcmd("say /who", "cmdWho", -1, "");
register_clcmd("say /admins", "cmdWho", -1, "");
}


public cmdWho(id)
{
static sPlayers[32], iNum, iPlayer;
static sName[32], sBuffer[1024];

static iLen;
iLen = formatex(sBuffer, sizeof sBuffer - 1, "<body bgcolor=#000000><font color=#7b68ee><pre>");
iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen,"<center><h2><font color=^"red^"><B>Admins Online</B></font></h2></center>^n^n");

get_players(sPlayers, iNum, "ch");

for(new i = 0; i < MAX_GROUPS ; i++)
{
iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen, "<center><h5><font color=^"yellow^">..::<B>%s</B>::..^n</font></h5></center>", g_groupNames[i]);

for(new x = 0; x < iNum ; x++)
{
iPlayer = sPlayers[x];

if(get_user_flags(iPlayer) == g_groupFlagsValue[i])
{
get_user_name(iPlayer, sName, sizeof sName - 1);
iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen, "<center>%s^n</center>", sName);
}
}
}
show_motd(id, sBuffer, "AMXX Who");
return 0;
}


- Se instaleaza ca si primul.
Sus In jos
Vezi profilul utilizatorului http://www.facebook.com/theelementrecords
Admin
Admin
Admin
avatar

Mesaje : 486
Reputatie : 3
Data registrari : 04/10/2011
Virsta : 19
De unde esti : Moldova

MesajSubiect: Re: /admin plugin   Mar Ian 24, 2012 6:11 am

mersi mult:)
Sus In jos
Vezi profilul utilizatorului http://assassin-creed.ucoz.ro/
Admin
Admin
Admin
avatar

Mesaje : 486
Reputatie : 3
Data registrari : 04/10/2011
Virsta : 19
De unde esti : Moldova

MesajSubiect: Re: /admin plugin   Mar Ian 24, 2012 6:44 am

iuhuu merge ms antrax Smile +10
:multumesc:
Sus In jos
Vezi profilul utilizatorului http://assassin-creed.ucoz.ro/
Continut sponsorizat




MesajSubiect: Re: /admin plugin   

Sus In jos
 
/admin plugin
Vezi subiectul anterior Vezi subiectul urmator Sus 
Pagina 1 din 1
 Subiecte similare
-
» Голосуем-выбираем лучший салат из свежих овощей
» Азбука фриформа - как это вяжется.

Permisiunile acestui forum:Nu puteti raspunde la subiectele acestui forum
CsMd-Forum  :: CsMd :: Programe/addon/plugins pentru Cs1.6-
Mergi direct la: