Raised This Month: $32 Target: $400
 8% 

admin command


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
yokana_yako
Junior Member
Join Date: Dec 2010
Old 10-07-2013 , 03:14   admin command
Reply With Quote #1

its easy plugins i need to show all players on server how is Owner, headadmin,admin,Vip,guest,vip

wen owener typ on chat its come like that

Owner Ronaldo: hiii
HeadAdmin Ronaldo: hiiii
Admin Ronaldo: hiiii
Vip Ronaldo: hiii

and a normal player will have guest

like that

Guest Ronaldo: hiiiii

Ronaldo is just name to player


i want the Owner,headadmin,admin,Vip show whit green color and guest show whit red color can any make it för me ?
yokana_yako is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 10-07-2013 , 03:45   Re: admin command
Reply With Quote #2

Use iChat.
__________________
Kia is offline
yokana_yako
Junior Member
Join Date: Dec 2010
Old 10-07-2013 , 03:58   Re: admin command
Reply With Quote #3

http://forums.alliedmods.net/showthread.php?t=173113



can you fixit plz i dont know how to cod plugins :/ that is problem for me
yokana_yako is offline
dark_style
Senior Member
Join Date: Jul 2009
Location: Bulgaria
Old 10-07-2013 , 04:04   Re: admin command
Reply With Quote #4

The plugin is ready to be used, what do you want to code ?
__________________



dark_style is offline
yokana_yako
Junior Member
Join Date: Dec 2010
Old 10-07-2013 , 04:16   Re: admin command
Reply With Quote #5

its only admin and vip i want ja owner and headadmin to can you make it ?
yokana_yako is offline
yokana_yako
Junior Member
Join Date: Dec 2010
Old 10-07-2013 , 04:33   Re: admin command
Reply With Quote #6

its not working for me server
yokana_yako is offline
dark_style
Senior Member
Join Date: Jul 2009
Location: Bulgaria
Old 10-07-2013 , 04:45   Re: admin command
Reply With Quote #7

You are doing something wrong, read the plugin's thread again.
__________________



dark_style is offline
yokana_yako
Junior Member
Join Date: Dec 2010
Old 10-07-2013 , 04:51   Re: admin command
Reply With Quote #8

its not work for me i dont know why i did everthing but its not working thx ever one for help


if any one can make new one like that Owner,Headadmin,Admin,Vip,guset for me just put it here plz thz
yokana_yako is offline
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 10-07-2013 , 16:47   Re: admin command
Reply With Quote #9

Quote:
Originally Posted by yokana_yako View Post
its not work for me i dont know why i did everthing but its not working thx ever one for help


if any one can make new one like that Owner,Headadmin,Admin,Vip,guset for me just put it here plz thz
What isn't working? Do you expect us to guess?
__________________
joshknifer is offline
Send a message via Skype™ to joshknifer
Snitch
Veteran Member
Join Date: Sep 2013
Location: Kazakhstan
Old 10-07-2013 , 18:42   Re: admin command
Reply With Quote #10

check this:
PHP Code:
#include < amxmodx >

new Float:xPos] = { 0.05, -1.0, -1.0 };

new 
Float:yPos] = { 0.550.20.7 };

new 
g_iLine];

new 
g_iAccess[ ] = { ADMIN_IMMUNITYADMIN_RCONADMIN_LEVEL_FADMIN_KICK };

new 
szAccess[ ][ ] = { "Owner""HeadAdmin""Admin""VIP" };

new 
g_Colors[ ][ ] = { { 255255255 },{ 2550},{ 0255},{ 00255 },{ 255255},{ 2550255 },{ 0255255 },{ 27796},{ 4589116 },{ 1034438 } };

new 
szColors[ ][ ] = { """r""g""b""y""m""c""o" };

public 
plugin_init()
{
    
register_plugin"Admins Chat""1.0""Rejack" );
    
    
register_clcmd"say""CmdSay" );
}

public 
CmdSayclient )
{
    if ( !( 
get_user_flagsclient ) & ADMIN_CHAT ) )
        return 
0;
    
    new 
szSigns], 0;
    
    
read_argv1szSignscharsmaxszSigns ) );
    
    while ( 
szSigns] == '@' )
        
i++;
    
    if ( !
|| )
        return 
0;
    
    new 
0;
    
    switch( 
szSigns] )
    {
        case 
'r'1
        
case 'g'2
        
case 'b'3
        
case 'y'4
        
case 'm'5
        
case 'c'6
        
case 'o'7
    
}
    
    new 
szMsg192 ];
    
    
read_argsszMsgcharsmaxszMsg ) );
    
    
remove_quotesszMsg );
    
    for ( new 
jij++ )
        
replaceszMsgcharsmaxszMsg ), "@""" );
    
    if ( 
)
        
replaceszMsgcharsmaxszMsg ), szColors], "" );
    
    
set_hudmessageg_Colors][ ], g_Colors][ ], g_Colors][ ], xPos], yPos], 00.08.00.10.1, -);
    
    
g_iLine]++;
    
    new 
szLines32 ];
    
    for ( new 
0g_iLine]; o++ )
        
addszLinescharsmaxszLines ), "^n" );
    
    
show_hudmessage0"%s(%s) %s: %s"szLinesGetUserTagclient ), GetUserNameclient ), szMsg );
    
    if ( 
g_iLine] == )
        
g_iLine] = 0;
    
    return 
1;
}

stock GetUserName( const index )
{
    static 
Name128 ];
    
    
get_user_nameindexNamecharsmaxName ) );
    
    return 
Name;
}

stock GetUserTag( const index )
{
    new 
g_szAccess12 ];
    
    for ( new 
isizeof szAccessi++ )
    {
        if ( 
get_user_flagsindex ) & g_iAccess] )
        {
            
formatexg_szAccesscharsmaxg_szAccess ), "%s"szAccess] );
            
            break;
        }
    }
    
    return 
g_szAccess;

Snitch is offline
Send a message via Skype™ to Snitch
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 04:33.


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