User
Pass
2FA
 
 

[rezolvat]Cerere amx_who

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Plugins - Help / Support
Author Message1058
DarkJB
[Banned user]


Banned


Status: Offline
(since 27-11-2014 09:08)
Joined: 18 Aug 2014
Posts: 79, Topics: 25
Location: Romania

Reputation: -34.1
Votes: 4

Post Posted: 24-08-2014, 13:42:25 | Translate post to: ... (Click for more languages)

As vrea si eu un amx_who MOTD cu urmatoarele grade:
===>Fondatori<===



===>Owneri<===




===>Co-Owneri<===




===>God's<===




===>Administrator General<===




===>Moderator Global<===




===>Moderator<===




===>Helperi<===





===>Slot's<===



==>V.I.P<===


Fondator pincipal:Fury.Freakz.Ro
0 0
  
Back to top
View user's profile Send private message
-P!C@-

[Simply Normal]



Status: Offline
(since 21-04-2022 19:07)
Joined: 28 May 2012
Posts: 21086, Topics: 1601
Location: Constanta

Reputation: 1870.3
Votes: 781

Post Posted: 24-08-2014, 14:24:42 | Translate post to: ... (Click for more languages)

Pune si accesele, ex(abcdefghijk... pentru fiecare).



0 0
  
Back to top
View user's profile Send private message
lemonEZAH

[Licensed to kill]



Status: Offline
(since 04-11-2019 15:30)
Joined: 28 Dec 2013
Posts: 7058, Topics: 351
Location: England

Reputation: 99.3
Votes: 483

Post Posted: 24-08-2014, 14:29:55 | Translate post to: ... (Click for more languages)

FLAG-urle
@DarkJB

0 0
  
Back to top
View user's profile Send private message
DarkJB
[Banned user]


Banned


Status: Offline
(since 27-11-2014 09:08)
Joined: 18 Aug 2014
Posts: 79, Topics: 25
Location: Romania

Reputation: -34.1
Votes: 4

Post Posted: 28-08-2014, 12:50:37 | Translate post to: ... (Click for more languages)

===>Fondatori[abcdefghijklmnopqrstuv]<===


===>Owneri[bcdefghijklmnopqrstuv]<===




===>Co-Owneri[bcdefghijklmnopqrstu]<===




===>God's[bcdefghijklmnopqrst]<===


===>Administrator General[bcdefghijklmnopqr]<===




===>Moderator Global[bcdefghijklmnop]<===




===>Moderator[bcdefghij]<===




===>Helperi[bcdef]<===



===>Slot's[b]<===



==>V.I.P<===
@-P!C@-,ToaderValy,Happy=]]


Fondator pincipal:Fury.Freakz.Ro
0 0
  
Back to top
View user's profile Send private message
lemonEZAH

[Licensed to kill]



Status: Offline
(since 04-11-2019 15:30)
Joined: 28 Dec 2013
Posts: 7058, Topics: 351
Location: England

Reputation: 99.3
Votes: 483

Post Posted: 28-08-2014, 13:59:56 | Translate post to: ... (Click for more languages)

Quote:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New Adminii Online"
#define VERSION "1.0"
#define AUTHOR "Alka"

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

#define MAX_GROUPS 10

new g_groupNames[MAX_GROUPS][] = {

"===>Fondatori<===",
"===>Owneri<===",
"===>Co-Owneri<===",
"===>God's<===",
"===>Administrator General<===",
"===>Moderator Global<===",
"===>Moderator<===",
"===>Helperi<===",
"===>Slot's<===",
"===>V.I.P<==="

}

new g_groupFlags[MAX_GROUPS][] = {

"abcdefghijklmnopqrstuv",
"bcdefghijklmnopqrstuv",
"bcdefghijklmnopqrstu",
"bcdefghijklmnopqrst",
"bcdefghijklmnopqr",
"bcdefghijklmnop",
"bcdefghij",
"bcdef",
"b",
"bit"

}

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 /admin", "cmdWho", -1, "");
register_clcmd("say /admins", "cmdWho", -1, "");
register_clcmd("say admin", "cmdWho", -1, "");
register_clcmd("say who", "cmdWho", -1, "");
register_clcmd("say /admini", "cmdWho", -1, "");
register_clcmd("say admini", "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, "Adminii Online");
return 0;
}

Rosu - Accesele
Galben - Flagurile

0 0
  
Back to top
View user's profile Send private message
DarkJB
[Banned user]


Banned


Status: Offline
(since 27-11-2014 09:08)
Joined: 18 Aug 2014
Posts: 79, Topics: 25
Location: Romania

Reputation: -34.1
Votes: 4

Post Posted: 28-08-2014, 14:41:53 | Translate post to: ... (Click for more languages)

Gata,tc pls. @AMG

Fondator pincipal:Fury.Freakz.Ro
0 0
  
Back to top
View user's profile Send private message

  Topic locked


Topic is closed, you cannot post any messages in it anymore

Locked by -P!C@-, 28 August 2014 12:45



 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Plugins - Help / Support  


The time now is 28-04-2024, 17:21:47
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password


This message appears only once, so
like us now until it's too late ! :D
x