MCPcopy Create free account
hub / github.com/assaultcube/AC / listmuted

Function listmuted

source/src/clientgame.cpp:141–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139COMMAND(muteplayer, "i");
140
141void listmuted()
142{
143 string pl;
144 pl[0] = '\0';
145 loopv(players) if(players[i] && players[i]->muted) concatformatstring(pl, ", %s", colorname(players[i]));
146 if(*pl) conoutf("muted players: %s", pl + 2);
147 else conoutf("no players are muted");
148}
149COMMAND(listmuted, "");
150
151void clearmuted(char *cn)

Callers

nothing calls this directly

Calls 4

concatformatstringFunction · 0.85
colornameFunction · 0.85
loopvFunction · 0.70
conoutfFunction · 0.70

Tested by

no test coverage detected