AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   [REQ] /admin or /vip (https://forums.alliedmods.net/showthread.php?t=174726)

BlackDay 12-24-2011 10:04

[REQ] /admin or /vip
 
Hi
Can some one give me mod that if I type
/admin or /vip
Its show me the admins and vip online
The Admins flags are:RCOM
The VIP flags are:kick

H.RED.ZONE 12-24-2011 13:40

Re: [REQ] /admin or /vip
 
Quote:

Originally Posted by BlackDay (Post 1618892)
Hi
Can some one give me mod that if I type
/admin or /vip
Its show me the admins and vip online
The Admins flags are:RCOM
The VIP flags are:kick

http://forums.alliedmods.net/showthread.php?p=830495
This is for admins i think you can change it so that it can be for vips too only flags and text..

Pop0N 12-24-2011 13:45

Re: [REQ] /admin or /vip
 
ah adam z0na! :D
sure i'll give you.. that what friends do!

PHP Code:

#include <amxmodx>

#define VIP_ACCESS            ADMIN_KICK
#define ADMIN_ACCESS            ADMIN_RCON

new g_max_clientsgmsgSayText

public plugin_init() {
    
register_plugin("Admins&Vips Online""0.1""Pop0N")
    
    
g_max_clients get_maxplayers()
    
gmsgSayText get_user_msgid("SayText")
    
register_clcmd("say /admin""ShowVIPs")
    
register_clcmd("say_team /admin""ShowVIPs")
    
register_clcmd("say /admins""ShowVIPs")
    
register_clcmd("say_team /admins""ShowVIPs")
    
register_clcmd("say /vip""ShowVIPs")
    
register_clcmd("say_team /vip""ShowVIPs")
}

public 
ShowVIPs(user)
{
    
ShowAdmins(user)
    new 
message[256]
    new 
adminnames[33][32]
    new 
idcountxlen
    
    
for(id id <= g_max_clients id++)
        if(
is_user_connected(id))
            if(
get_user_flags(id) & VIP_ACCESS)
                
get_user_name(idadminnames[count++], 31)
    
len format(message255"^4Vips Online:^3 ")
    if(
count 0) {
        for(
count x++) {
            
len += format(message[len], 255-len"%s%s "adminnames[x], < (count-1) ? ", ":"")
            if(
len 96) {
                
print_message(usermessage)
                
len format(message255"^4 ")
            }
        }
        
print_message(usermessage)
    }
    else {
        
len += format(message[len], 255-len"^3No VIPs Online.")
        
print_message(usermessage)
    }
}

public 
ShowAdmins(user)
{
    new 
message[256]
    new 
adminnames[33][32]
    new 
idcountxlen
    
    
for(id id <= g_max_clients id++)
        if(
is_user_connected(id))
            if(
get_user_flags(id) & ADMIN_ACCESS)
                
get_user_name(idadminnames[count++], 31)
    
len format(message255"^4Admins Online:^3 ")
    if(
count 0) {
        for(
count x++) {
            
len += format(message[len], 255-len"%s%s "adminnames[x], < (count-1) ? ", ":"")
            if(
len 96) {
                
print_message(usermessage)
                
len format(message255"^4 ")
            }
        }
        
print_message(usermessage)
    }
    else {
        
len += format(message[len], 255-len"^3No Admins Online.")
        
print_message(usermessage)
    }
}

print_message(idmsg[]) {
    
message_begin(MSG_ONEgmsgSayText, {0,0,0}, id)
    
write_byte(id)
    
write_string(msg)
    
message_end()



Levels 12-24-2011 14:36

Re: [REQ] /admin or /vip
 
PopON this mod its not yours its mine im DiscoStars from Fxp
hhhh its so fail whats you do im going to advertise this topic.

Black Day i have a better one from this contact me details

Pop0N 12-24-2011 14:40

Re: [REQ] /admin or /vip
 
it's my mod, just see my postreply in fxp and you see i have to this mod.
its not your mod .. everyone can make this plugins because the mod "/admin" post here already.

Levels 12-24-2011 15:05

Re: [REQ] /admin or /vip
 
Quote:

Originally Posted by Pop0N (Post 1619010)
it's my mod, just see my postreply in fxp and you see i have to this mod.
its not your mod .. everyone can make this plugins because the mod "/admin" post here already.

ok its yours.

just do not become a matter for.:nono:

BlackDay 12-24-2011 15:29

Re: [REQ] /admin or /vip
 
yz0na hhhh
ty

Levels 12-24-2011 17:01

Re: [REQ] /admin or /vip
 
hhhh Black Day lama ata medaber be Heb
a forum yale aliha :D


All times are GMT -4. The time now is 20:45.

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