PDA

View Full Version : GlowShells (CS 1.6)



STR
17-08-07, 12:42
void glowshells()
{
cl_entity_s *model = oEngfuncs.GetViewModel();
if(model && model->model)
{
char* mdl = model->model->name;
if(strstr(mdl,"v_"))
{
model->curstate.renderfx = kRenderFxGlowShell;
model->curstate.renderamt = 7;
model->curstate.rendercolor.r = cvar.glowr;
model->curstate.rendercolor.b = cvar.glowb;
model->curstate.rendercolor.g = cvar.glowg;
}
}
}

Eskimo
28-08-07, 12:53
hmmm.... no #include 's needed?

STR
28-08-07, 01:18
just engfuncs

Eskimo
30-08-07, 11:00
oki .