Alright, I've searched around and tried multiple things but can't get only one player to see someone invisible.
I've stumble across this thread - and no, it doesn't work for me.
http://forums.alliedmods.net/showthread.php?t=25624
I even changed the code so it should (so I think) set everyone invisible without checking if they should be or not.
PHP Code:
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);
register_forward(FM_AddToFullPack, "fwd_AddToFullPack");
}
public fwd_AddToFullPack(es_handle, e, ent, host, hostflags, player, pSet)
{
if(!player)
return FMRES_IGNORED;
set_es(es_handle, ES_RenderMode, kRenderTransTexture);
set_es(es_handle, ES_RenderAmt, 0);
return FMRES_IGNORED;
}
That does not work... Please someone let me know what is wrong. I'm about to pull my hair out!!!