This didn't work for me (Half-Life):
PHP Code:
public forward_AddToFullPack(es_handle, e, entity, host, hostflags, player, pSet)
{
if(!player || entity==host)
return FMRES_IGNORED
if(ITEMTIMER[ITEM_INVISIBILITY][entity]>0.0)
{
client_print(0, print_chat, "%i-%i-%i-%f", random_num(10, 99), host, entity, ITEMTIMER[ITEM_INVISIBILITY][entity])
//set_rendering(id, kRenderFxGlowShell, 0, 0, 0, kRenderTransAlpha, 0.0)
set_es(es_handle, ES_RenderFx, kRenderFxGlowShell)
set_es(es_handle, ES_RenderColor, {0, 0, 0})
set_es(es_handle, ES_RenderMode, kRenderTransAlpha)
set_es(es_handle, ES_RenderAmt, 0.0)
}
return FMRES_HANDLED
}
I see the print and values look fine, but it changes nothing.
Edit:
It looks like it prevents any change. For example if the player is glowing green, he stays green.
__________________