View Single Post
Plugin Info:     Modification:          Category:          Approver:   devicenull (200)
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 11-06-2004 , 03:52   Force Admin Tag 1.0
Reply With Quote #1

Force Admin Tag 1.0
Nov. 11th, 2004
By: BigBaller

Simple plugin, what it does is changes a players name if they have admin on the server. This can be changed by the amx_forcetag cvar. 1 is to enable, 0 to disable. Enabled by default.

If user changes name during game, this plugin will detect it and change users name to use the admin tag.

This should work on any Half-Life based mod running AMX MOD X.

Credits
AMX MOD X Scripting Forum (http://forums.alliedmods.net/forumdisplay.php?f=11)
PM - for giving a idea on how to detect if user has [ADMIN] in name already.
XxAvalanchexX - suggesting use of is_user_admin() stock
Janzert - for fixing the nasty loop I kept getting and making a more efficent code.
Attached Files
File Type: sma Get Plugin or Get Source (admin_tag.sma - 6937 views - 1.5 KB)
__________________

BigBaller is offline