dit moet je er voor DrawOnHud zetten
void WH_func ()
{
for( int i = 1; i < 33; i++)
{
cl_entity_s *ent = pEngfuncs->GetEntityByIndex(i);
if( ( ent != NULL ) && ( ent->index != pEngfuncs->GetLocalPlayer()->index ) && ( ent->curstate.solid ) && ( ent->player ) && ( ent->curstate.weaponmodel ) && ( !ent->curstate.spectator ) && ( ent->curstate.messagenum + 10 > pEngfuncs->GetLocalPlayer()->curstate.messagenum ) && pEngfuncs->GetLocalPlayer()->curstate.solid )
{
pEngfuncs->CL_CreateVisibleEntity(ET_NORMAL, ent);
}
}
}
in glViewport add da:
if(viewport_c == 1)
{
WH_func();
}