PHP Code:
public fw_addtofullpack(es_handle, e, ent, host, hostflags, player, pSet)
{
if(!player || !is_user_alive(host) || iTeam == 0 || bVision[host] == false)
return FMRES_IGNORED
set_es(es_handle, ES_Effects, EF_BRIGHTLIGHT)
return FMRES_IGNORED
}
The problem is when I turn my "nightvision" on (so that the brightlight will "spawn" on me) I can se other player's light also, even if they do NOT have it activated... how can I sepparate this ? for the brightlight to appear only to that player and only HIS brightlight to see ?
__________________