Force Admin Tag 1.0

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

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
π‘΄π’‚π’šπ’ƒπ’† 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 π’Šπ’” 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☒️

βœ… GAZDUIRE JOCURI / VPS / GAZDUIRE WEB / SERVERE DEDICATE - Stock NELIMITAT / Valabil comandati pe https://www.zonek.ro/
Post Reply

Return to β€œGeneral Purpose”