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

Admin Prefixes V4.0 by m0skVi4a ;]


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

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
NBRider88
New Member
Join Date: Jul 2007
Old 05-07-2012 , 15:54   Re: Admin Prefixes V1.0 by m0skVi4a ;]
Reply With Quote #22

Quote:
Originally Posted by m0skVi4a View Post
Attaching .amxx files here is forbidden
Compile localy or here http://www.amxmodx.org/webcompiler.cgi

Got it. Thank you
NBRider88 is offline
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 05-08-2012 , 11:49   Re: Admin Prefixes V1.0 by m0skVi4a ;]
Reply With Quote #23

@bLacK-bLooD The idea of this plugin is not to be edited if you want to add more prefixes.
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 05-10-2012 , 05:23   Re: Admin Prefixes V1.0 by m0skVi4a ;]
Reply With Quote #24

http://forums.alliedmods.net/showthread.php?t=173113
__________________
You can do anything you set your mind to, man.

Devil259 is offline
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 05-10-2012 , 12:11   Re: Admin Prefixes V1.0 by m0skVi4a ;]
Reply With Quote #25

Quote:
Originally Posted by Devil259 View Post
I have not seen this before. After reading the topic I realized that my plugin does not have any unnecessary functions..
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
INDEST
Junior Member
Join Date: Mar 2012
Old 05-10-2012 , 14:20   Re: Admin Prefixes V1.0 by m0skVi4a ;]
Reply With Quote #26

In my users.ini i have the flags "abcdefghijklmnopqrstu" for head admins and "t" for vips.
But when i enter my server as head admin,it recognises me as a vip,because the flag "t" is also in the head admins,not only in vip. Is there any way to solve this flag conflict or the plugin is useless?
INDEST is offline
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 05-11-2012 , 14:41   Re: Admin Prefixes V1.0 by m0skVi4a ;]
Reply With Quote #27

"[HEAD ADMIN]" "o"
"[VIP]" "t"

This in admin_prefixes.ini
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 05-19-2012 , 14:36   Re: Admin Prefixes V2.0 by m0skVi4a ;]
Reply With Quote #28

Update
See changelog!

Last edited by m0skVi4a; 05-19-2012 at 14:36.
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
akcaliberg
Senior Member
Join Date: Nov 2011
Location: Istanbul
Old 05-21-2012 , 08:56   Re: Admin Prefixes V2.0 by m0skVi4a ;]
Reply With Quote #29

I have not understood what is mean of bad prefix ?

And here: Turkish Translate
Code:
[tr]
PREFIX_PERMISSION = %s Prefix Dosyasini Yeniden Yuklemek Icin Yetkin Yok!
PREFIX_NOT_FOUND = %s Prefix dosyasi -  %s bulunamadi !
PREFIX_LOAD_IP = %s YUKLENDI: Prefix:  %s Belirtilen IP'ye Verildi... IP:  %s
PREFIX_LOAD_NAME = %s YUKLENDI: Prefix:  %s Belirtilen Isimdeki Oyuncuya Verildi... Isim:  %s
PREFIX_LOAD_FLAG = %s YUKLENDI: Prefix:  %s Belirtilen Yetkideki Oyunculara Verildi... Yetki:  %s
PREFIX_NO = %s Hic Prefix Bulunamadi !
PREFIX_LOADED_BY = %s Prefix Dosyasi %s Tarafindan Yuklendi !
PREFIX_LOADED = %s Prefix Dosyasi Yuklendi !
BADP_OFF = %s Bad Prefix Ayari Suanda Devre Disi !
BADP_PERMISSION = %s Bad Prefix Dosyasini Yuklemek Icin Yetkin Yok !
BADP_NOT_FOUND = %s Bad Prefix Dosyasi -  %s bulunamadi !
BADP_LOAD = %s YUKLENDI: Bad Prefix:  %s
BADP_NO = %s Hic Bad Prefix Bulunamadi !
BADP_LOADED_BY = %s Bad Prefix Dosyasi %s Tarafindan Yuklendi !
BADP_LOADED = %s Bad Prefix Dosyasi Yuklendi !
CUSTOM_OFF = %s Ozel Prefix Ayari Suanda Devre Disi !
CUSTOM_PERMISSION = %s Ozel Prefix Ayari Icin Yetkin Yok !
CUSTOM_FORBIDDEN = %s Yazdigin Prefix - %s bu serverda yasakli ! Baska bir tane dene!
CUSTOM_SYMBOL = %s Yazdigin Prefix - %s kotu karakter iceriyor -  %s   Kaldir ve baska bir tane dene .
CUSTOM_REMOVE = %s Ozel Prefixini Basariyla Kaldirdin !
CUSTOM_REMOVE_INFO = %s Oyuncu %s Ozel Prefixini Kaldirdi !
CUSTOM_CHANGE = %s Ozel Prefixini Basariyla %s Olarak Degistirdin !
CUSTOM_CHANGE_INFO = %s Oyuncu %s Ozel Prefixini %s Olarak Degistirdi !
CO_OFF = %s Ozel Prefix Ayari Suanda Devre Disi !
CO_PERMISSION = %s Ozel Prefix Ayarlamak Icin Yetkin Yok !
CO_REMOVE = %s Basariyla  ^"%s^"'s Ozel Prefixini Kaldirdin
CO_REMOVE_INFO = %s Oyuncu %s kendi ^"%s^"'s Ozel Prefixini Kaldirdi.
CO_CHANGE = %s Basariyla ^"%s^"'s Ozel Prefixini  %s Olarak Degistirdin.
CO_CHANGE_INFO = %s Oyuncu %s kendi ^"%s^"'s Ozel Prefixini %s Olarak Degistirdi !

Last edited by akcaliberg; 05-21-2012 at 09:11.
akcaliberg is offline
Nick Haldem
Senior Member
Join Date: Jun 2011
Location: Moldova
Old 05-21-2012 , 09:41   Re: Admin Prefixes V2.0 by m0skVi4a ;]
Reply With Quote #30

He meant that players and admins cant put themselves prefixes that will be in your cfg file

Moskvi4ka thank you!Great on, like your works
Nick Haldem is offline
Send a message via Skype™ to Nick Haldem
Reply


Thread Tools
Display Modes

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 15:04.


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