Existing user? Sign in
Sign up
Games
Servers
Useful
User
Pass
2FA
[PLUGIN] Who Menu
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Resources
Author
Message
5403
Happy =]]
[I'm in your mind !]
Status: Offline
(since 02-05-2020 11:17)
Joined: 17 Mar 2012
Posts: 10538
,
Topics: 450
Location:
In mintea ta !
Reputation:
553
Votes
: 204
Posted: 19-08-2013, 09:15:38
| Translate post to:
... (
Click for more languages
)
Descriere:
»
Acest plugin este who cu meniu.
Descarcare:
Who simplu
Who + VIP
Info:
»
Nume: Who Meniu
»
Versiune: 1.0
»
Autor: Askwwrite
Instalare:
»
Fisierul
who.amxx
il puneti in addons/amxmodx/plugins
»
Intrati in fisierul addons->amxmodx->configs->plugins.ini si adaugati la urma:
Code:
who.amxx
Comenzi:
»
/who
*
Ambele plugin-uri au fost recompliate de catre mine, merg perfect nu dau nici o eroare.
Pentru orice problema PM.
Nu ofer asistenta in privat.
0
0
Back to top
VenoWW.jb
[Creep]
Status: Offline
(since 16-01-2021 14:53)
Joined: 06 Sep 2013
Posts: 906
,
Topics: 176
Location:
Botosani
Reputation:
432
Votes
: 92
Posted: 06-04-2014, 08:54:22
| Translate post to:
... (
Click for more languages
)
happy vrei te rog sa pui din nou who simplu pe site-ul girlshare ? mersi
- Tati, tati!… Ce inseamna "Champions League"?
- Nu stiu fiule, noi tinem cu Dinamo!
0
0
Back to top
Low xDD
[Banned user]
Status: Offline
(since 25-05-2014 12:50)
Joined: 23 May 2013
Posts: 25
,
Topics: 5
Location:
Romania
Reputation:
-27.4
Votes
: 10
Posted: 05-05-2014, 13:13:00
| Translate post to:
... (
Click for more languages
)
@Happy =]] sma te rog frumos?
VAND KEY CS:GO 200 REP
0
0
Back to top
MaNNNiAc
[Account disabled]
Status: Offline
(since 25-06-2014 07:37)
Joined: 19 Jan 2014
Posts: 1921
,
Topics: 200
Location:
In culisele trupei BvB
Reputation:
0.9
Votes
: 68
Posted: 16-06-2014, 19:18:47
| Translate post to:
... (
Click for more languages
)
Mersi...
Foarte foarte bun
0
0
Back to top
T3yZ
[Tatal tau natural !]
Status: Offline
(since 18-04-2016 20:38)
Joined: 28 Mar 2013
Posts: 82
,
Topics: 18
Location:
Romania
Reputation:
-67.5
Votes
: 19
Posted: 24-06-2014, 21:37:39
| Translate post to:
... (
Click for more languages
)
Spoiler:
Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Who meniu"
#define VERSION "1.0"
#define AUTHOR "Askwrite"
#define GRUPURI 5
new const TITLU[] = " \w Nume admin \r | \w Grad ";
new const IESIRE[] = "\yIesire.^n";
new const NOADMINS[] = "\y Nu sunt admini online.";
#pragma semicolon 1
new g_NumeGrade[ GRUPURI ][ ] = {
"Grad",
"Grad",
"Grad",
"Grad",
"Grad"
};
new g_Flaguri[ GRUPURI ][ ] = {
"Flag",
"Flag",
"Flag",
"Flag",
"Flag"
};
new g_ValueFlaguri[ GRUPURI ];
public plugin_init( ) {
register_plugin( PLUGIN, VERSION, AUTHOR );
for( new i = 0 ; i < GRUPURI ; i++ )
g_ValueFlaguri[ i ] = read_flags( g_Flaguri[ i ] );
register_clcmd("say /who", "cmdWho");
register_clcmd("say_team /who", "cmdWho");
register_clcmd("say /admin", "cmdWho");
register_clcmd("say_team /admin", "cmdWho");
register_clcmd("say /admins", "cmdWho");
register_clcmd("say_team /admins", "cmdWho");
register_clcmd("say /admini", "cmdWho");
register_clcmd("say_team /admini", "cmdWho");
}
public cmdWho( id, page ) {
new MenuName[ 64 ], MenuExitKey[ 32 ];
formatex( MenuName, sizeof ( MenuName ) -1, "%s", TITLU );
formatex( MenuExitKey, sizeof ( MenuExitKey ) -1, "%s", IESIRE );
new menu = menu_create(MenuName, "InchidereMeniu");
if( AdminiON( ) )
{
for( new i = 0; i < GRUPURI; i++ )
{
AdaugareA( id, menu, i );
}
}
else
{
menu_additem( menu, NOADMINS , "1", 0 );
}
menu_setprop(menu, MPROP_EXITNAME, MenuExitKey );
menu_display(id, menu, page);
}
public InchidereMeniu(id, menu, item) {
if(item == MENU_EXIT)
{
menu_destroy( menu );
return 1;
}
new data[6], iName[64];
new iaccess, callback;
menu_item_getinfo(menu, item, iaccess, data,5, iName, 63, callback);
new key = str_to_num(data);
switch(key)
{
case 1,2,3,4,5,6,7:
{
menu_destroy( menu );
return 1;
}
}
return 0;
}
public AdaugareA( const id, const menu, const group ) {
new AdminMenuMessage[ 32 ][ 64 ],AdminMenuKey[ 32 ][ 32 ], MenuKey = 1;
static Players[ 32 ], Num, Player;
get_players( Players, Num, "ch" );
for( new x = 0 ; x < Num ; x++ )
{
Player = Players[ x ];
if( get_user_flags( Player ) == g_ValueFlaguri[ group ] )
{
formatex( AdminMenuMessage[ MenuKey ], sizeof ( AdminMenuMessage[ ] ) -1, "\w%s \y- | \w%s%s ",
gName( Player ), g_NumeGrade[ group ], Player == id ? "\r *" : "" );
formatex( AdminMenuKey[ MenuKey ], sizeof ( AdminMenuKey[ ] ) -1, "%d", MenuKey );
MenuKey++;
}
}
for( new z = 1 ; z < MenuKey ; z++ )
{
menu_additem( menu, AdminMenuMessage[ z ], AdminMenuKey[ z ], 0 );
}
}
stock bool:AdminiON( ) {
new bool:AGasiti = false;
static Players[ 32 ], Num, Player;
get_players( Players, Num, "ch" );
for( new x = 0 ; x < Num ; x++ )
{
Player = Players[ x ];
for( new i = 0 ; i < GRUPURI ; i++ )
{
if( AGasiti ) break;
if( get_user_flags( Player ) == g_ValueFlaguri[ i ] )
{
AGasiti = true;
}
}
}
return AGasiti ? true : false;
}
stock gName( id ) {
new name[ 32 ];
get_user_name( id, name, sizeof ( name ) -1 );
return name;
}
Spoiler:
Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Who meniu"
#define VERSION "1.0"
#define AUTHOR "Askwrite"
#define GRUPURI 5
new const TITLU[] = " \w Nume admin \r | \w Grad \r | \w VIP ";
new const IESIRE[] = "\yIesire.^n";
new const NOADMINS[] = "\y Nu sunt admini online.";
#pragma semicolon 1
new g_NumeGrade[ GRUPURI ][ ] = {
"Owner",
"Owner \y| \r1",
"Owner \y| \r2",
"Owner \y| \r3",
"Owner \y| \r4"
};
new g_Flaguri[ GRUPURI ][ ] = {
"abcd", ///fara niciun vip
"abcdE", ///flag la vip 1
"abcdN", ///flag la vip 2
"abcdF", ///flag lavip 3
"abcdH" ///flag la vip 4
};
new g_ValueFlaguri[ GRUPURI ];
public plugin_init( ) {
register_plugin( PLUGIN, VERSION, AUTHOR );
for( new i = 0 ; i < GRUPURI ; i++ )
g_ValueFlaguri[ i ] = read_flags( g_Flaguri[ i ] );
register_clcmd("say /who", "cmdWho");
register_clcmd("say_team /who", "cmdWho");
register_clcmd("say /admin", "cmdWho");
register_clcmd("say_team /admin", "cmdWho");
register_clcmd("say /admins", "cmdWho");
register_clcmd("say_team /admins", "cmdWho");
register_clcmd("say /admini", "cmdWho");
register_clcmd("say_team /admini", "cmdWho");
}
public cmdWho( id, page ) {
new MenuName[ 64 ], MenuExitKey[ 32 ];
formatex( MenuName, sizeof ( MenuName ) -1, "%s", TITLU );
formatex( MenuExitKey, sizeof ( MenuExitKey ) -1, "%s", IESIRE );
new menu = menu_create(MenuName, "InchidereMeniu");
if( AdminiON( ) )
{
for( new i = 0; i < GRUPURI; i++ )
{
AdaugareA( id, menu, i );
}
}
else
{
menu_additem( menu, NOADMINS , "1", 0 );
}
menu_setprop(menu, MPROP_EXITNAME, MenuExitKey );
menu_display(id, menu, page);
}
public InchidereMeniu(id, menu, item) {
if(item == MENU_EXIT)
{
menu_destroy( menu );
return 1;
}
new data[6], iName[64];
new iaccess, callback;
menu_item_getinfo(menu, item, iaccess, data,5, iName, 63, callback);
new key = str_to_num(data);
switch(key)
{
case 1,2,3,4,5,6,7:
{
menu_destroy( menu );
return 1;
}
}
return 0;
}
public AdaugareA( const id, const menu, const group ) {
new AdminMenuMessage[ 32 ][ 64 ],AdminMenuKey[ 32 ][ 32 ], MenuKey = 1;
static Players[ 32 ], Num, Player;
get_players( Players, Num, "ch" );
for( new x = 0 ; x < Num ; x++ )
{
Player = Players[ x ];
if( get_user_flags( Player ) == g_ValueFlaguri[ group ] )
{
formatex( AdminMenuMessage[ MenuKey ], sizeof ( AdminMenuMessage[ ] ) -1, "\w%s \y- | \w%s%s ",
gName( Player ), g_NumeGrade[ group ], Player == id ? "\r *" : "" );
formatex( AdminMenuKey[ MenuKey ], sizeof ( AdminMenuKey[ ] ) -1, "%d", MenuKey );
MenuKey++;
}
}
for( new z = 1 ; z < MenuKey ; z++ )
{
menu_additem( menu, AdminMenuMessage[ z ], AdminMenuKey[ z ], 0 );
}
}
stock bool:AdminiON( ) {
new bool:AGasiti = false;
static Players[ 32 ], Num, Player;
get_players( Players, Num, "ch" );
for( new x = 0 ; x < Num ; x++ )
{
Player = Players[ x ];
for( new i = 0 ; i < GRUPURI ; i++ )
{
if( AGasiti ) break;
if( get_user_flags( Player ) == g_ValueFlaguri[ i ] )
{
AGasiti = true;
}
}
}
return AGasiti ? true : false;
}
stock gName( id ) {
new name[ 32 ];
get_user_name( id, name, sizeof ( name ) -1 );
return name;
}
0
0
Back to top
IceCubes
[Creep]
Status: Offline
(since 15-05-2019 16:59)
Joined: 14 Apr 2014
Posts: 644
,
Topics: 74
Location:
Constanta
Reputation:
201.3
Votes
: 28
Posted: 06-09-2014, 08:42:55
| Translate post to:
... (
Click for more languages
)
Ce ai postat tu acolo o sa dea eroare la compilare, @T3YZ , ai definit de 2x public_int + {} si mai multe nu mai stau sa le refac
Spoiler:
Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Plugin Who
#define VERSION "1.0"
#define AUTHOR "InTex"
#define GRUPURI 11
new const TITLU[] = " w Nume admin r | w Grad ";
new const IESIRE[] = "yIesire.^n";
new const NOADMINS[] = "y Nu sunt admini online.";
#pragma semicolon 1
new g_NumeGrade[ GRUPURI ][ ] = {
"-Fondator-",
"-Owner-",
"-Co-Owner-",
"-Veteran-",
"-God-",
"-Super-Mod-",
"-Moderator-",
"-Administrator-",
"-Helper-",
"-Slot-",
"-Vip-"
} ;
new g_Flaguri[ GRUPURI ][ ] = {
"abcdefghijklmnopqrstux",
"abcdefhijmnopqrsut",
"abcdefijmnopqrsut",
"bcdefijmnopqrst",
"bcdefijmopqrst",
"bcdefijmpqrst",
"bcdefijpqm",
"bcdefijmc",
"bcefijm",
"b",
"bx"
} ;
new g_ValueFlaguri[ GRUPURI ];
public plugin_init( ) {
for (new i = 0; i < GRUPURI ; i++)
{
g_ValueFlaguri[ i ] = read_flags( g_Flaguri[ i ] );
}
register_plugin("PLUGIN", VERSION, "AUTHOR");
register_clcmd("say /who", "cmdWho");
register_clcmd("say_team /who", "cmdWho");
register_clcmd("say /admin", "cmdWho");
register_clcmd("say_team /admin", "cmdWho");
register_clcmd("say /admins", "cmdWho");
register_clcmd("say_team /admins", "cmdWho");
register_clcmd("say /admini", "cmdWho");
register_clcmd("say_team /admini", "cmdWho");
}
public cmdWho( id, page ) {
new MenuName[ 64 ], MenuExitKey[ 32 ];
formatex( MenuName, sizeof ( MenuName ) -1, "%s", TITLU );
formatex( MenuExitKey, sizeof ( MenuExitKey ) -1, "%s", IESIRE );
new menu = menu_create(MenuName, "InchidereMeniu");
if( AdminiON( ) )
{
for( new i = 0; i < GRUPURI; i++ )
{
AdaugareA( id, menu, i );
}
}
else
{
menu_additem( menu, NOADMINS , "1", 0 );
}
menu_setprop(menu, MPROP_EXITNAME, MenuExitKey );
menu_display(id, menu, page);
}
public InchidereMeniu(id, menu, item) {
if(item == MENU_EXIT)
{
menu_destroy( menu );
return 1;
}
new data[6], iName[64];
new iaccess, callback;
menu_item_getinfo(menu, item, iaccess, data,5, iName, 63, callback);
new key = str_to_num(data);
switch(key)
{
case 1,2,3,4,5,6,7:
{
menu_destroy( menu );
return 1;
}
}
return 0;
}
public AdaugareA( const id, const menu, const group ) {
new AdminMenuMessage[ 32 ][ 64 ],AdminMenuKey[ 32 ][ 32 ], MenuKey = 1;
static Players[ 32 ], Num, Player;
get_players( Players, Num, "ch" );
for( new x = 0 ; x < Num ; x++ )
{
Player = Players[ x ];
if( get_user_flags( Player ) == g_ValueFlaguri[ group ] )
{
formatex( AdminMenuMessage[ MenuKey ], sizeof ( AdminMenuMessage[ ] ) -1, "w%s y- | w%s%s ",
gName( Player ), g_NumeGrade[ group ], Player == id ? "r *" : "" );
formatex( AdminMenuKey[ MenuKey ], sizeof ( AdminMenuKey[ ] ) -1, "%d", MenuKey );
MenuKey++;
}
}
for( new z = 1 ; z < MenuKey ; z++ )
{
menu_additem( menu, AdminMenuMessage[ z ], AdminMenuKey[ z ], 0 );
}
}
stock bool:AdminiON( ) {
new bool:AGasiti = false;
static Players[ 32 ], Num, Player;
get_players( Players, Num, "ch" );
for( new x = 0 ; x < Num ; x++ )
{
Player = Players[ x ];
for( new i = 0 ; i < GRUPURI ; i++ )
{
if( AGasiti ) break;
if( get_user_flags( Player ) == g_ValueFlaguri[ i ] )
{
AGasiti = true;
}
}
}
return AGasiti ? true : false;
}
stock gName( id ) {
new name[ 32 ];
get_user_name( id, name, sizeof ( name ) -1 );
return name;
}
Modifcat
0
0
Back to top
bilute
[CTA.Probleme.Tehnice]
Status: Offline
(since 04-01-2017 12:06)
Joined: 04 May 2013
Posts: 1131
,
Topics: 114
Location:
Constanta
Reputation:
147.2
Votes
: 69
Posted: 14-02-2015, 14:25:26
| Translate post to:
... (
Click for more languages
)
mama off ice cubs arata calumea dar multe errori de ce mai postati daca nu le faceti calumea ... praf serios cand day prin say /who apare "ynici un admin online" cu "y" in fata la cuvinte.
nu gasesc nimic bun.
0
0
Back to top
anoniM.xD
[Banned user]
Status: Offline
(since 15-03-2015 21:43)
Joined: 04 Feb 2015
Posts: 92
,
Topics: 19
Location:
Pitesti
Reputation:
-103.8
Votes
: 21
Posted: 14-02-2015, 14:40:42
| Translate post to:
... (
Click for more languages
)
Spoiler:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "ULTIMATE WHO"
#define VERSION "1.1"
#define AUTHOR "Schwarzkopf=D"
#define CharsMax(%1) sizeof %1 - 1
#define time_shower 1.0
#define GROUPS_NAME 9
#define GROUPS_ACCESS 9
#define motd_msg " Admin's Online"
new color[][] =
{
"00FF00",
"FF0000",
"0000FF",
"545454",
"FFFF00",
"00FFFF",
"FF00FF",
"C0C0C0",
"FFFFFF"
}
new GroupNames[GROUPS_NAME][] =
{
"* * * FOUNDER * * *",
"* * OWNER * * ",
"* CO-OWNER *",
"GOD",
"SEMI-GOD",
"MODERATOR",
"* ADMINISTRATOR *",
"* * HELPER * *",
"* * * SLOT * * *"
}
new GroupFlags[GROUPS_ACCESS][] =
{
"abcdefghijklmnopqrstu",
"abcdefghijklmnopqrst",
"abcdefghijlmnopqrst",
"bcdefghijmnopqrstu",
"bcdefgijmnopqrstu",
"bcdefgijmnopqrtu",
"bcdegijmnopqtu",
"bit",
"b"
}
new GroupFlagsValue[GROUPS_NAME]
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
for(new p_of_pw = 0 ; p_of_pw < GROUPS_NAME ; p_of_pw++)
GroupFlagsValue[p_of_pw] = read_flags(GroupFlags[p_of_pw])
register_clcmd("say", "cmdSay")
register_clcmd("say_team", "cmdSay")
}
public cmdSay(id)
{
new say[8]
read_args(say, 7)
if ((containi(say, "who") != -1
|| containi(say, "admin") != -1
|| containi(say, "admins") != -1
|| contain(say, "/who") != -1
|| contain(say, "/admin") != -1
|| contain(say, "/admins") != -1))
who_motd(id)
return PLUGIN_CONTINUE
}
who_motd(id)
{
new sPlayers[32], iNum, iPlayer
new sName[32], sBuffer[1024]
new iLen
iLen = formatex(sBuffer, sizeof sBuffer - 1, "<body bgcolor=#000000><font color=#7b68ee><pre>")
get_players(sPlayers, iNum, "ch")
for(new p_of_pw = 0; p_of_pw < GROUPS_NAME ; p_of_pw++)
{
iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen, "<center><h5><font color=^"violet^">%s^n</font></h5></center>", GroupNames[p_of_pw])
for(new a = 0; a < iNum ; a++)
{
iPlayer = sPlayers[a]
if(get_user_flags(iPlayer) == GroupFlagsValue[p_of_pw])
{
get_user_name(iPlayer, sName, sizeof sName - 1)
iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen, "<center><font color=^"%s^">%s^n</center></font>", color[p_of_pw], sName)
}
}
}
show_motd(id, sBuffer, motd_msg)
return PLUGIN_CONTINUE
}
0
0
Back to top
destroi112
[DEV]
Status: Offline
(since 12-03-2020 22:13)
Joined: 24 May 2014
Posts: 4042
,
Topics: 119
Location:
---------
Reputation:
515.9
Votes
: 118
Posted: 14-02-2015, 15:19:24
| Translate post to:
... (
Click for more languages
)
poftim whomenu,flagurile le pui cum vrei tu.
Spoiler:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "WhoMenu"
#define VERSION "1.1"
#define AUTHOR "D3luxe"
#pragma tabsize 0
#define CharsMax(%1) sizeof %1 - 1
#define time_shower 0.4
#define GROUPS_NAME 9
#define GROUPS_ACCESS 9
#define GROUPS_NAME2 8
#define GROUPS_ACCESS2 8
#define RRR 255
#define GGG 255
#define BBB 255
#define motd_msg "Numele de la svr tau"
new GroupNames[GROUPS_NAME][] = {
".::[VIP]Detinator[VIP]::.",
".::Owner::. ",
".::Co-Owner::. ",
".::God::.",
".::Super-Moderator::.",
"::Moderator::.",
"::Administrator::.",
"::Helper::.",
".::Slot::."
}
new GroupFlags[GROUPS_ACCESS][] = {
"abcdefghijklmnopqrstu",
"bcdefghijklmnopqrsu",
"bcdefijmnopqrsu",
"bcdefijmnopqrs",
"bcdefijmnopqr",
"bcdefijmnopq",
"bcdefijmno",
"bceijmno",
"b"
}
new GroupNames2[GROUPS_NAME2][] = {
".::Owner+VIP::.",
".::Co-Owner+VIP::.",
".::God+VIP::.",
".::Super-Moderator+VIP::.",
"::Moderator+VIP::.",
"::Administrator+VIP::.",
"::Helper+VIP::.",
".::VIP::."
}
new GroupFlags2[GROUPS_ACCESS2][] = {
"bcdefghijklmnopqrsut",
"bcdefijmnopqrsut",
"bcdefijmnopqrst",
"bcdefijmnopqrt",
"bcdefijmnopqt",
"bcdefijmnot",
"bceijmnot",
"abt"
}
new GroupFlagsValue[GROUPS_NAME]
new GroupFlagsValue2[GROUPS_NAME2]
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
for(new p_of_pw = 0 ; p_of_pw < GROUPS_NAME ; p_of_pw++)
GroupFlagsValue[p_of_pw] = read_flags(GroupFlags[p_of_pw])
for(new p_of_pw2 = 0 ; p_of_pw2 < GROUPS_NAME2 ; p_of_pw2++)
GroupFlagsValue2[p_of_pw2] = read_flags(GroupFlags2[p_of_pw2])
register_clcmd("say", "cmdSay")
register_clcmd("say_team", "cmdSay")
}
public cmdSay(id)
{
new say[192]
read_args(say,192)
if(( containi(say, "who") != -1 || containi(say, "admin") != -1 || containi(say, "admins") != -1 || contain(say, "/who") != -1 || contain(say, "/admin") != -1 || contain(say, "/admins") != -1))
set_task(time_shower,"who_menu",id)
return PLUGIN_CONTINUE
}
public who_menu(id)
{
new menu = menu_create( "Meniu Admini Online", "who_handler" );
menu_additem(menu, "Admini Online", "1", 0);
menu_additem(menu, "Admin cu VIP si VIP Online", "2", 0);
menu_display( id, menu, 0)
}
public who_handler( id, menu, item )
{
if( item == MENU_EXIT )
{
menu_destroy( menu )
return PLUGIN_HANDLED
}
new data[6], iName[64]
new access, callback
menu_item_getinfo( menu, item, access, data,5, iName, 63, callback )
new key = str_to_num( data )
switch( key )
{
case 1:
{
who_motd(id)
}
case 2:
{
who_vipspecial(id)
}
}
menu_destroy( menu )
return PLUGIN_HANDLED
}
public who_motd(id)
{
new sPlayers[32], iNum, iPlayer
new sName[32], sBuffer[1024]
new iLen
iLen = formatex(sBuffer, sizeof sBuffer - 1, "<center><body bgcolor=#000000><font color=#7b68ee><h5>Admini Online^n</h5></font><pre></center>")
get_players(sPlayers, iNum, "ch")
for(new p_of_pw = 0; p_of_pw < GROUPS_NAME ; p_of_pw++)
{
iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen, "<center><h5><font color=^"red^">%s^n</font></h5></center>", GroupNames[p_of_pw])
for(new b = 0; b < iNum ; b++)
{
iPlayer = sPlayers[b]
if( get_user_flags(iPlayer) == GroupFlagsValue[p_of_pw])
{
get_user_name(iPlayer, sName, sizeof sName - 1)
iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen, "<center><font color =^"green^">%s</font></center>", sName)
}
}
}
show_motd(id, sBuffer, motd_msg)
return 0
}
public who_vipspecial(id)
{
new sPlayers[32], iNum, iPlayer
new sName[32], sBuffer[1024]
new iLen
iLen = formatex(sBuffer, sizeof sBuffer - 1, "<center><body bgcolor=#000000><font color=#7b68ee><h5>VIP-uri si Admini cu VIP Online^n</h5></font><pre></center>")
get_players(sPlayers, iNum, "ch")
for(new p_of_pw2 = 0; p_of_pw2 < GROUPS_NAME2 ; p_of_pw2++)
{
iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen, "<center><h5><font color=^"red^">%s^n</font></h5></center>", GroupNames2[p_of_pw2])
for(new a = 0; a < iNum ; a++)
{
iPlayer = sPlayers[a]
if(get_user_flags(iPlayer) == GroupFlagsValue2[p_of_pw2])
{
get_user_name(iPlayer, sName, sizeof sName - 1)
iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen, "<center><font color =^"white^">%s^n</font></center>", sName)
}
}
}
show_motd(id, sBuffer, motd_msg)
return 0
}
Retired from Amxmodx
0
0
Back to top
Freakz Forum Index
->
Trash Bin
->
CS 2006-2019 (Archived)
->
Resources
The time now is 12-11-2024, 01:55:23
Copyright info
Based on phpBB
ro
/
com
B
Login
I forgot my password
World of Warcraft
Login for more...
Download WoW 7.3.5
Misc
eSports
Achievements
Buy reputation with votes
Reputation trades
Forum rules
Ban list
Members list
User guide (FAQ)
World of Warcraft
View details