This commit is contained in:
aurhat
2017-02-18 22:40:07 +01:00
parent 7ca26bc458
commit 4d2d326136
12 changed files with 21 additions and 17 deletions
+8 -3
View File
@@ -89,11 +89,16 @@ void rendermapmodels()
void showedithide()
{
loopv(eh_ents)
if(eh_ents.length())
{
if(eh_ents[i]>0 && eh_ents[i]<MAXENTTYPES) { conoutf("#%02d: %d : %s", i, eh_ents[i], entnames[eh_ents[i]]); }
else { conoutf("#%02d: %d : -n/a-", i, eh_ents[i]); }
conoutf("Hidden entities:");
loopv(eh_ents)
{
if(eh_ents[i]>0 && eh_ents[i]<MAXENTTYPES) { conoutf("#%02d: %d : %s", i, eh_ents[i], entnames[eh_ents[i]]); }
else { conoutf("#%02d: %d : -n/a-", i, eh_ents[i]); }
}
}
else conoutf("all entities are visible");
}
COMMAND(showedithide, "");