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

Force Admin Tag 1.0


Post New Thread Reply   
 
Thread Tools Display Modes
_SAi_
Junior Member
Join Date: Sep 2004
Old 12-08-2004 , 01:56  
Reply With Quote #11

yup, that was it... i didn't change the 7... i wasn't sure what that was for.

Thank man!! works great!
_SAi_ is offline
skulldiggers
Member
Join Date: Sep 2004
Old 12-08-2004 , 03:04  
Reply With Quote #12

hi,

you can add if player dont have ADMIN_KICK change name to remove admin TAG
__________________
Headshot rules...
skulldiggers is offline
M!6 | HyDrO
New Member
Join Date: Nov 2004
Old 12-18-2004 , 02:21  
Reply With Quote #13

can someone make this so it has protection so that only admin can have the [ADMIN] tag on??
__________________
Counter-Strike: 209.172.39.17:27015
Counter-Strike: Source: 209.172.39.18:27015
Day Of Defeat: 209.172.39.19:27015
Counter-Strike: WarCraft3x: 209.172.39.20:27015
M!6 | HyDrO is offline
Send a message via ICQ to M!6 | HyDrO Send a message via AIM to M!6 | HyDrO Send a message via MSN to M!6 | HyDrO
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 12-18-2004 , 03:20  
Reply With Quote #14

Quote:
Originally Posted by M!6 | HyDrO
can someone make this so it has protection so that only admin can have the [ADMIN] tag on??
Yea, I plan on doing that, however I been busy, dont expect anything until after the 25th.

IF anyone else wants to give it a shot go ahead ;)
__________________

BigBaller is offline
_SAi_
Junior Member
Join Date: Sep 2004
Old 12-22-2004 , 15:55  
Reply With Quote #15

I've seen a couple occurances where people WITHOUT admin have had their name changed. They don't know why buy they now have my clan tag on their names.

Any idea why this is happening? I checked the users.ini file and their steam ids aren't listed as admins (or anywhere for that matter).

Thx!
_SAi_ is offline
MassAsster
Member
Join Date: Jun 2004
Old 12-22-2004 , 17:31  
Reply With Quote #16

download it - and compile it on your own rather then the on-line compiler

i had the same issue at first too
__________________

HellzKitchenServer.com - Dedicated Game Server hosting and Clan Website Hosting.
MassAsster is offline
ancient1
Senior Member
Join Date: Jul 2004
Location: UK
Old 03-22-2005 , 08:20  
Reply With Quote #17

Seems to do the random [ADMIN] tag on my servers too :/

I'm trying a self compiler version, but I dont see why it would make any difference?

Ancient
__________________
ancient1 is offline
pizzahut
Senior Member
Join Date: Oct 2004
Old 03-24-2005 , 17:10  
Reply With Quote #18

Changes:
- Moved admin tag behind the name.
- Users who don't have admin access will be renamed if they put on admin tag.
- Name is shortened if too long to add tag.
- Admins with immunity won't get renamed.

Code:
#include <amxmodx> #include <amxmisc> public plugin_init(){     register_plugin("Force Admin Tags", "9a", "pizzahut")     register_cvar("amx_forcetag", "1") } public client_putinserver(id){         set_task(1.5,"admin_entered",id) }        public admin_entered(id){     new name[32]     get_user_name(id, name, 31)     return force_tag(id, name) } force_tag(id, name[]) {     if (get_cvar_num("amx_forcetag")==1){         if (is_user_admin(id) && (containi(name, "[admin]")<0) && (!access(id, ADMIN_IMMUNITY))) {             copy(name,23,name)             client_cmd(id,"name ^"%s [Admin]^"", name)         }         if ((!is_user_admin(id)) && (containi(name, "[admin]")>=0)) {             deletei(name, "[admin]")             trim(name)             if (strlen(name) == 0) {                 copy(name, 7, "Player")             }             client_cmd(id, "name ^"%s^"", name)         }     }     return PLUGIN_CONTINUE } public client_infochanged(id){         new name[32]         get_user_info(id, "name", name, 31)         return force_tag(id, name) } deletei(text[], const what[]) {     new pos     new len     new i     pos = containi(text, what)     while (pos>=0) {         len = strlen(what)         i = 0         while (text[pos+len+i]!=0) {             text[pos+i] = text[pos+len+i]             i++         }         text[pos+i] = 0         pos = containi(text, what)     } }
__________________
My AMXX plugins (content date 2007-03-29, link check 2017-04-26)

Plugins for the Royston Vasey TFC server - These are UNSUPPORTED, except those which have been published at AMX Mod X.
pizzahut is offline
ancient1
Senior Member
Join Date: Jul 2004
Location: UK
Old 03-26-2005 , 10:14  
Reply With Quote #19

Pizza the latest version seems to be fine GJ.

You can upload it to these forums, please dont link to my server ;)

Ancient
__________________
ancient1 is offline
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 03-26-2005 , 10:28  
Reply With Quote #20

Quote:
Originally Posted by ancient1
Pizza the latest version seems to be fine GJ.

You can upload it to these forums, please dont link to my server ;)

Ancient
He should just Private message anyone that wants it.
BigBaller 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 11:34.


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