Raised This Month: $ Target: $400
 0% 

Admin Prefixes V4.0 by m0skVi4a ;]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
bLacK-bLooD
AlliedModders Donor
Join Date: Jun 2008
Old 05-07-2012 , 15:15   Re: Admin Prefixes V1.0 by m0skVi4a ;]
Reply With Quote #11

Wouldn't this be easier?

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

#define PLUGIN "Admin Tags" 
#define VERSION "1.1" 
#define AUTHOR "emblaze" 

new flagi[] = { 
    
ADMIN_IMMUNITY

new 
tagi[][] = { 
    
"[ADMIN]"


public 
plugin_init() { 
    
register_plugin(PLUGINVERSIONAUTHOR

public 
client_authorized (id) { 
    new 
username[32
    
get_user_name(idusername31
    
    new 
user_flags get_user_flags(id
    for (new 
ii<sizeof(flagi); i++) 
        if (
user_flags flagi[i]) 
        { 
            if (
contain(usernametagi[i])==-1
                
ColorChat(idGREEN"name ^"%s^x01 %s^""tagi[i], username
            break 
        } 

__________________
We all live under the same sky but we have different horizons.

Last edited by bLacK-bLooD; 05-07-2012 at 15:16.
bLacK-bLooD is offline
 



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 11:59.


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