Just posting this and hoping that someone else has a better solution or other ideas.
Untested
PHP Code:
#include <sourcemod>
#include <sendproxy>
#define PLUGIN_VERSION "1.0"
public Plugin myinfo =
{
name = "[ANY] Observer Obscurer",
author = "Headline",
description = "Forces client's m_hObserverTarget to -1",
version = PLUGIN_VERSION,
url = "http://www.michaelwflaherty.com"
}
public void OnClientPutInServer(int client)
{
SendProxy_Hook(client, "m_hObserverTarget", Prop_Int, PropHook_CallBack);
}
public void OnClientDisconnect(int client)
{
SendProxy_Unhook(client, "m_hObserverTarget", PropHook_CallBack);
}
public Action PropHook_CallBack(int entity, const char[] propname, int &iValue, int element)
{
iValue = -1;
return Plugin_Changed;
}