Force Admin Tag 1.0

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Force Admin Tag 1.0

Post by greenie »

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.

plugin
source
Post Reply

Return to “General Purpose”