+ int fr = ((e) ? e.frags : stof(getplayerkeyvalue(i, "frags")));
+ if (unconnected || fr == FRAGS_SPECTATOR)
+ return ENTCS_SPEC_PURE;
+ int sol = ((e) ? e.sv_solid : SOLID_NOT);
+ if (fr == FRAGS_PLAYER_OUT_OF_GAME && sol == SOLID_NOT)
+ return ENTCS_SPEC_IN_SCOREBOARD;
+ return 0;