Raised This Month: $51 Target: $400
 12% 

[REQ] /admin or /vip


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BlackDay
BANNED
Join Date: May 2011
Location: https://t.me/pump_upp
Old 12-24-2011 , 10:04   [REQ] /admin or /vip
Reply With Quote #1

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

Last edited by BlackDay; 12-24-2011 at 10:35.
BlackDay is offline
Send a message via ICQ to BlackDay Send a message via AIM to BlackDay Send a message via Yahoo to BlackDay Send a message via Skype™ to BlackDay
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 12-24-2011 , 13:40   Re: [REQ] /admin or /vip
Reply With Quote #2

Quote:
Originally Posted by BlackDay View Post
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..
__________________
H.RED.ZONE is offline
Pop0N
Member
Join Date: Apr 2011
Old 12-24-2011 , 13:45   Re: [REQ] /admin or /vip
Reply With Quote #3

ah adam z0na!
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()

Pop0N is offline
Levels
Member
Join Date: Dec 2011
Old 12-24-2011 , 14:36   Re: [REQ] /admin or /vip
Reply With Quote #4

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

Last edited by Levels; 12-24-2011 at 14:40.
Levels is offline
Pop0N
Member
Join Date: Apr 2011
Old 12-24-2011 , 14:40   Re: [REQ] /admin or /vip
Reply With Quote #5

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.
Pop0N is offline
Levels
Member
Join Date: Dec 2011
Old 12-24-2011 , 15:05   Re: [REQ] /admin or /vip
Reply With Quote #6

Quote:
Originally Posted by Pop0N View Post
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.
Levels is offline
BlackDay
BANNED
Join Date: May 2011
Location: https://t.me/pump_upp
Old 12-24-2011 , 15:29   Re: [REQ] /admin or /vip
Reply With Quote #7

yz0na hhhh
ty
BlackDay is offline
Send a message via ICQ to BlackDay Send a message via AIM to BlackDay Send a message via Yahoo to BlackDay Send a message via Skype™ to BlackDay
Levels
Member
Join Date: Dec 2011
Old 12-24-2011 , 17:01   Re: [REQ] /admin or /vip
Reply With Quote #8

hhhh Black Day lama ata medaber be Heb
a forum yale aliha
Levels 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 09:07.


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