Raised This Month: $ Target: $400
 0% 

Help amx_who


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Senzor
Member
Join Date: Nov 2012
Location: Romania
Old 05-07-2016 , 19:19   Help amx_who
Reply With Quote #1

Can someone make an amx_who like this in the photo?
http://imgur.com/w3Pk994

Last edited by Senzor; 05-07-2016 at 19:19.
Senzor is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 05-07-2016 , 19:29   Re: Help amx_who
Reply With Quote #2

I dont know how to add colors o.O

But i made the format:

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

#define MAX_GROUPS 13

new g_groupNames[MAX_GROUPS][] = 
{
    
"[1] FONDATOR",
    
"[2] OWNER + VIP",
    
"[3] CO-OWNER + VIP",
    
"[4] GENERAL + VIP",
    
"[5] GENERAL",
    
"[6] VETERAN + VIP",
    
"[7] VETERAN",
    
"[8] MODERATOR + VIP",
    
"[9] MODERATOR",
    
"[10] HELPER + VIP",
    
"[11] HELPER",
    
"[12] VIP",
    
"[13] SLOT"
}


// Add your flags here, the flags that you will add here, you need to add at users.ini 
// for show the player name when a player write amx_who on console
new g_groupFlags[MAX_GROUPS][] = 
{
    
"",
    
"",
    
"",
    
"",
    
"",
    
"",
    
"",
    
"",
    
"",
    
"",
    
"",
    
"",
    
""
}

new 
g_groupFlagsValue[MAX_GROUPS]

public 
plugin_init() 
{
    
register_plugin
    
(
    .
plugin_name =    "Amx who"
    .
version =    "1.0"
    .
author =    "EFFx"
    
)
    
    
register_concmd("amx_who""cmdWho")
    
    for(new 
0MAX_GROUPSi++) 
        
g_groupFlagsValue[i] = read_flags(g_groupFlags[i])
}
public 
cmdWho(id
{
    new 
players[32], inumplayername[32], ia
    get_players
(playersinum)
    for(
0MAX_GROUPSi++) 
    {
        
console_print(id"--- %s ---"g_groupNames[i])
        for(
0inum; ++a
        {
            
player players[a]
            
get_user_name(playername31)
            if(
get_user_flags(player) == g_groupFlagsValue[i]) 
            {
                
console_print(id">>> %s"name)
            }
        }
    }
    return 
PLUGIN_HANDLED

__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 05-07-2016 at 19:31.
EFFx is offline
Senzor
Member
Join Date: Nov 2012
Location: Romania
Old 05-07-2016 , 19:39   Re: Help amx_who
Reply With Quote #3

Well i know how to make a normal one but i need the one with colors ty for trying.
Senzor is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-07-2016 , 20:15   Re: Help amx_who
Reply With Quote #4

That's pretty much impossible.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Senzor
Member
Join Date: Nov 2012
Location: Romania
Old 05-07-2016 , 20:19   Re: Help amx_who
Reply With Quote #5

Well it's already made so...i just need to know how
Senzor is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 05-07-2016 , 20:21   Re: Help amx_who
Reply With Quote #6

Quote:
Originally Posted by OciXCrom View Post
That's pretty much impossible.
You're right, i dont know how this guy made it.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-07-2016 , 20:35   Re: Help amx_who
Reply With Quote #7

I doubt that he made it without modifying his game. That can also easily be Photoshop.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 05-07-2016 , 21:42   Re: Help amx_who
Reply With Quote #8

Ban?
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-07-2016 , 22:41   Re: Help amx_who
Reply With Quote #9

Colors in the console are not possible using anything that is server-side like a plugin.

Quote:
Originally Posted by EFFx View Post
Ban?
What the hell are you talking about?
__________________
fysiks is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 05-07-2016 , 23:01   Re: Help amx_who
Reply With Quote #10

Quote:
Originally Posted by fysiks View Post

What the hell are you talking about?
Nothing, is because my keyboard is a nerd he's writing automatic, i'll kill him sorry for that



¬.¬
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 05-07-2016 at 23:02.
EFFx is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode