User
Pass
2FA
 
 

[rezolvat]Cerere /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 Message1263
BoGdanCoFcd

[Doar Dinamo]



Status: Offline
(since 24-09-2019 18:10)
Joined: 28 Jul 2014
Posts: 3969, Topics: 775
Location: Poarta Alba

Reputation: 311.9
Votes: 1145

   
Post Posted: 06-02-2015, 09:21:26 | Translate post to: ... (Click for more languages)

Code:
".::Detinator::.",
".::Owner+VIP::.",
".::Owner::.",
".::Co-Owner+VIP::.", 
".::Co-Owner::.",
".::Good+VIP::.",
".::Good::.",
".::Super-Moderator+VIP::.",
".::Super-Moderator::.",
".::Moderator+VIP::.",
".::Moderator::.",
".::Administrator+VIP::.",
".::Administrator::.",
".::Helper+VIP::.",
".::Helper+::.", 
".::VIP::.",
".::Slot::."





Code:
"abcdefghijklmnopqrstu",
"bcdefghijklmnopqrsut",
"bcdefghijklmnopqrsu",
"bcdefghijklmnopqrsut",
"abcdefijmnopqrsu",
"bcdefijmnopqrst",
"bcdefijmnopqrs",
"bcdefijmnopqrt",
"bcdefijmnopqr",
"bcdefijmnopqt",
"bcdefijmnopqt",
"bcdefijmnot",
"bcdefijmno",
"bceijmnot",
"bceijmno",
"abt",
"b"




Am incercat sa fac eu dar nu mi-a mers.

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
-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: 06-02-2015, 09:37:09 | Translate post to: ... (Click for more languages)

Poftim pluginul: http://www38.zippyshare.com/v/9I2TQqRS/file.html



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

[Doar Dinamo]



Status: Offline
(since 24-09-2019 18:10)
Joined: 28 Jul 2014
Posts: 3969, Topics: 775
Location: Poarta Alba

Reputation: 311.9
Votes: 1145

   
Post Posted: 06-02-2015, 09:44:15 | Translate post to: ... (Click for more languages)

Am incercat cu /who,who,admins,/admins,admin, dar nimic,iar in consola apare asa cand dau amx_who
# nick authid userid imm res access
1 ZaR3A STEAM_0:0:307299982 573 No No z
2 SM-Player STEAM_0:0:1145962530 567 No No z
3 BoGdanCoFcd STEAM_0:0:2107449129 522 Yes Yes abcdefghijklmnopqrstu
4 [PRO]Baxter STEAM_0:0:836355458 569 No No z
5 tero STEAM_0:0:764948451 563 No Yes b
6 ^oyl^ STEAM_0:0:1860821656 568 No No z
7 AggressiveGoat STEAM_0:0:1312949540 566 Yes Yes abt
8 The Pro STEAM_0:0:1404318767 572 No No z
9 ZMEU' NINJA. STEAM_0:0:825520715 571 No No z
11 .L? STEAM_0:0:1082151310 555 No Yes bcefijmo
13 <LecTor> STEAM_0:0:1368729138 548 No No z
19 CreaTyoN STEAM_0:0:853182948 570 No

Pune comenzi publice te rog.

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
-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: 06-02-2015, 11:05:19 | Translate post to: ... (Click for more languages)

Eu ti-am facut amx_who...



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

[DEV]



Status: Offline
(since 12-03-2020 22:13)
Joined: 24 May 2014
Posts: 4042, Topics: 119
Location: ---------

Reputation: 515.9
Votes: 118

   
Post Posted: 06-02-2015, 11:34:08 | Translate post to: ... (Click for more languages)

Poftim ti-am facut meniu
Spoiler:



Retired from Amxmodx



Last edited by destroi112 on 08-02-2015, 17:43:45; edited 1 time in total
0 0
  
Back to top
View user's profile Send private message
EDUTz

[HardcoreAmxxScripter]



Status: Offline
(since 15-08-2021 16:34)
Joined: 27 Dec 2010
Posts: 4306, Topics: 244
Location: Jud. Miserupia, sat Bagadanc

Reputation: 4085
Votes: 179

         
Post Posted: 06-02-2015, 11:34:21 | Translate post to: ... (Click for more languages)

modifici

register_concmd("amx_who", "cmdWho", 0)

in

register_clcmd("say /who", "cmdWho")
register_clcmd("say /admins", "cmdWho")




Pentru pluginuri complicate le fac cu $$ pe paypal/psc. PM

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
BoGdanCoFcd

[Doar Dinamo]



Status: Offline
(since 24-09-2019 18:10)
Joined: 28 Jul 2014
Posts: 3969, Topics: 775
Location: Poarta Alba

Reputation: 311.9
Votes: 1145

   
Post Posted: 08-02-2015, 17:34:46 | Translate post to: ... (Click for more languages)

Ceea ce mi-ai dat tu are reclama.
De ce nu se compileaza asta?

Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN            "ULTIMATE WHO"
#define VERSION            "1.1"
#define AUTHOR            "P.Of.Pw"

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

#define GROUPS_NAME        17
#define GROUPS_ACCESS        17

#define RRR            255
#define GGG            255
#define BBB            255
#define time_hud        12.0

#define motd_msg        "Admin's Online"

#define who_meniu_ad_group_msg    "\y-=[Admin's]=- \r-=[Online]=-^n"
#define who_meniu_admin_msg    "\y-=[Admin's]=- \w-=[Online]=-^n^n"

#define who_meniu_ad_group_msg_bottom    "^n\wPt a iesi apasati \y0 \w sau \y5"
#define who_meniu_admin_msg_bottom    "^n\wPt a iesi apasati \r0 \w sau \r5"

#define    who_console_top        "=========== Admini Online ==========="
#define    who_console_bottom     "================================"

new GroupNames[GROUPS_NAME][] = {
    "<<<==-Founder-==>>>",
    "<<<==-Owner+Vip-==>>>",
    "<<<==-Owner-==>>>",
    "<<<==-Co-Owner+Vip-==>>>",   
    "<<<==-Co-Owner-==>>>",
    "<<<==-God+Vip-==>>>",
    "<<<==-God-==>>>",
    "<<<==-Super-Moderator+Vip-==>>>",
    "<<<==-Super-Moderator-==>>>",
    "<<<==-Moderator+Vip-==>>>",
    "<<<==-Moderator-==>>>>",
    "<<<==-Administrator+Vip-==>>>",
    "<<<==-Administrator-==>>>",
    "<<<==-Helper+Vip-==>>>",
    "<<<==-Helper-==>>>",
    "<<<==-Vip-==>>>",
    "<<<==-Slot-==>>>"
}

new GroupFlags[GROUPS_ACCESS][] = {
    "abcdefghijklmnopqrstu",
    "bcdefghijklmnopqrsut",
    "bcdefghijklmnopqrsu",
    "abcdefijmnopqrsut",
    "abcdefijmnopqrsu",
    "bcdefijmnopqrst",
    "bcdefijmnopqrs",
    "bcdefijmnopqrt",
    "bcdefijmnopqr",
    "bcdefijmnopqt",
    "bcdefijmnopq",
    "bceijmnot",
    "bceijmno",
    "abt",
    "b"
}

new GroupFlagsValue[GROUPS_NAME]

new who_type, who_typemeniu, who_typtable

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")
   
    who_type    = register_cvar("cmd_who","1")
    who_typemeniu    = register_cvar("who_typemeniu","1")
    who_typtable    = register_cvar("who_typetable","2")
}

public cmdSay(id)
{
    new say[192]
    read_args(say,192)
    if(( containi(say, "who") != -1 || containi(say, "/who") != -1 || containi(say, "/who") != -1  || contain(say, "/who") != -1 || contain(say, "/who") != -1 || contain(say, "/who") != -1))
        set_task(time_shower,"cmdULTMWho",id)
    return PLUGIN_CONTINUE
}

public cmdULTMWho(id)
{
    switch(get_pcvar_num(who_type))
    {
        case 1: who_meniu(id)
       
        case 2: who_motd(id)
       
        case 3: who_table(id)
       
        case 4: who_hud(id)
       
        case 5: who_console(id)
       
    }
    return 0
}

who_meniu(id)
{
    switch(get_pcvar_num(who_typemeniu))
    {
        case 1: who_meniu_admin_groups(id)
       
        case 2: who_meniu_admin(id)
    }
    return 0
}
who_meniu_admin_groups(id)
{
    new sPlayers[32], iNum, iPlayer
    new sName[32]
    new szMenu[256], nLen, keys
   
    nLen = format(szMenu[nLen], 255, who_meniu_ad_group_msg)
    get_players(sPlayers, iNum, "ch")
   
    for(new p_of_pw = 0; p_of_pw < GROUPS_NAME ; p_of_pw++)
    {   
        nLen += format(szMenu[nLen], 255-nLen,"\r%s^n", 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)
                nLen += format(szMenu[nLen], 255-nLen,"\w%s^n", sName)
            }   
        }
    }
    nLen += format(szMenu[nLen], 255-nLen, who_meniu_ad_group_msg_bottom)
    keys = (1<<0|1<<1|1<<2|1<<3|1<<4|1<<5|1<<6|1<<9)
    show_menu(id,keys,szMenu,-1)
    return 0
}

who_meniu_admin(id)
{
    new sPlayers[32], iNum, iPlayer
    new sName[32]
    new szMenu[256], nLen, keys
   
    nLen = format(szMenu[nLen], 255, who_meniu_admin_msg)
 
    get_players(sPlayers, iNum, "ch")
    for(new p_of_pw = 0; p_of_pw < GROUPS_NAME ; 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)
                nLen += format(szMenu[nLen], 255-nLen,"\r%s^n", sName)
            }   
        }
    }
    nLen += format(szMenu[nLen], 255-nLen, who_meniu_admin_msg_bottom)
    keys = (1<<0|1<<1|1<<2|1<<3|1<<4|1<<5|1<<6|1<<9)
    show_menu(id,keys,szMenu,-1)
    return 0
}

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=^"red^">%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>%s^n</center>", sName)
            }
        }       
    }
    show_motd(id, sBuffer, motd_msg)
    return 0

}

who_table(id)
{
    switch(get_pcvar_num(who_typtable))
    {
        case 1: table_style_one(id)
       
        case 2: table_style_two(id)
    }
    return 0
}
table_style_one(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>")
    iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen, "<center><h3><b><font color=^"red^">NUME            -    ACCES</font></h3></b></center>")
   
    get_players(sPlayers, iNum, "ch")
   
    for(new p_of_pw = 0; p_of_pw < GROUPS_NAME ; 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><h4><font color=^"white^">%s        %s^n</font></h4></center>", sName, GroupNames[p_of_pw])
            }
        }       
    }
    show_motd(id, sBuffer, motd_msg)
    return 0
}
table_style_two(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>")
   
    iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen, "<html><head><title>a</title></head>")
    iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen, "<br><br><center><body><table border>")
    iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen, "<tr><td><h3><b><font color=^"red^">NUME</td><td></h3></b> <h3><b><font color=^"red^">ACCES</td></h3></font></b></center>")
   
    get_players(sPlayers, iNum, "ch")
   
    for(new p_of_pw = 0; p_of_pw < GROUPS_NAME ; 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><tr><td><h4><b><font color=^"white^">%s<td></b></h4> <h4><b><font color=^"white^">%s </td></h4></font></b></center>", sName, GroupNames[p_of_pw])
            }
        }       
    }
    iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen, "</table></body></html>")
    show_motd(id, sBuffer, motd_msg)
    return 0
}

who_hud(id)
{
    new sPlayers[32], iNum, iPlayer
    new sName[32], sBuffer[1024]
    new iLen
   
    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, "=== %s ===^n", 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, "%s^n", sName)
            }
        }       
    }
    set_hudmessage(RRR, GGG, BBB, 0.02, 0.24, 0, 6.0, time_hud)
    show_hudmessage(id, sBuffer)
    return 0
}

who_console(id)
{
    new sPlayers[32], iNum, iPlayer
    new sName[32]

    get_players(sPlayers, iNum)
    console_print(id, who_console_top)
    for(new p_of_pw = 0; p_of_pw < GROUPS_NAME; p_of_pw++)
    {
        for(new a = 0; a < iNum ; a++)
        {
           
            iPlayer = sPlayers[a]
            get_user_name(iPlayer, sName, sizeof sName - 1)
            if(get_user_flags(iPlayer) == GroupFlagsValue[p_of_pw])
                console_print(id, "= %d = %s : %s", p_of_pw+1, GroupNames[p_of_pw], sName)
           
           
        }
    }
    console_print(id, who_console_bottom)
    return 0
}



Last edited by BoGdanCoFcd on 08-02-2015, 17:48:40; edited 1 time in total
0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
destroi112

[DEV]



Status: Offline
(since 12-03-2020 22:13)
Joined: 24 May 2014
Posts: 4042, Topics: 119
Location: ---------

Reputation: 515.9
Votes: 118

   
Post Posted: 08-02-2015, 17:44:30 | Translate post to: ... (Click for more languages)

Edit sus nu am fost atent cand am luat ultimate who ala=]] nush de unde naiba avea reclama
Poftim ti-am facut meniu
Spoiler:

Sterge quote ala te rog - foloseste meniul pe care ti l-am dat mai sus este bun daca nu o sa ma uit la ce ai tu acolo imediat.
EDIT : ce ai tu acolo nu se compileaza pentru ca ai 15 flaguri si 17 accese=]]
Code:

new GroupFlags[GROUPS_ACCESS][] = {
    "abcdefghijklmnopqrstu",//1
    "bcdefghijklmnopqrsut",//2
    "bcdefghijklmnopqrsu",//3
    "abcdefijmnopqrsut",//4
    "abcdefijmnopqrsu",//5
    "bcdefijmnopqrst",//6
    "bcdefijmnopqrs",//7
    "bcdefijmnopqrt",//8
    "bcdefijmnopqr",//9
    "bcdefijmnopqt",//10
    "bcdefijmnopq",//11
    "bceijmnot",//12
    "bceijmno",//13
    "abt",//14
    "b"//15
}
#define GROUPS_ACCESS        17

mai baga 2 ca sa acopere numarul de 17
Si asta ce nu are legatura cu who ,am vazut ca ai pe servar super knife ala daca vrei te ajut poata fii folosit doar de slot sau doar de VIP + am vazut ca ai si in shop cumpara slot dar nu merge daca vrei iti fac eu atunci cand cumpara sa ii dea acces slot iar /knife sunt dezordonat puse ChatColor sau colorchat depinde ce a folosit scripteru care l-a facut:).(Daca ai nevoie si vrei )



Retired from Amxmodx

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 TwisTer, 16 March 2015 14:35



 
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 29-07-2025, 09:02:17
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password