PHP Code:
public fwdAddToFullPack_Post(es_handle, e, ent, host, hostflags, player, pSet)
{
if(!player)
return FMRES_IGNORED;
if(skDia == DIA_ESCONDIDAS
&& !is_user_alive (host)
&& !(get_user_flags (host) & ADMIN_BAN)
&& is_user_alive (es_handle)
&& cs_get_user_team (es_handle) & CS_TEAM_CT)
{
set_es(es_handle, ES_RenderMode, kRenderTransTexture);
set_es(es_handle, ES_RenderAmt, 0);
}
return FMRES_IGNORED;
}
I've made this way, it works, but now I want the spectator to see the players if they are in the ct camera
Can someone help? Anyway to check if the spectator is watching on the first person camera, to make the players visible?