Hey AM,
I wrote a small snippet for an old plugin by Bigballer, but I was unable to force tagging admins when they remove their tag. How can I achieve this? Thanks
PHP Code:
public client_putinserver(id) set_task(3.0,"admin_entered",id)
public admin_entered(id)
{
if(is_user_admin(id)) force_tag(id);
}
public force_tag(id)
{
get_user_name(id, name, 31);
if (get_pcvar_num(amx_forcetag) && (containi(name, tag) == -1))
{
format(name, 31, "%s %s", tag, name);
set_user_info(id, "name", name);
}
return PLUGIN_CONTINUE;
}
public client_infochanged(id) admin_entered(id);