Quote:
Originally Posted by Vieni
If you're putting the rendering, you can just easily use these:
Code:
if(entity_get_int(id, EV_INT_rendermode) == your rendermode)
or
if(entity_get_int(id, EV_INT_renderfx) == your render fx)
or
if(entity_get_float(id, EV_FL_renderamt) == your render amount)
These are engine functions, for fakemeta use these:
Code:
pev(id, pev_rendermode or pev_renderfx or pev_renderamt)
|
PHP Code:
public checkglow(id)
{
if(pev(id, pev_renderfx ))
{
ColorChat(id,"Glowing");
}
else
{
ColorChat(id,"Not Glowing");
}
}
found the perfect match, thank you.