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

Function pstat_weap

source/src/clientgame.cpp:982–988  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

980}
981
982void pstat_weap(int *cn)
983{
984 string weapstring = "";
985 playerent *pl = getclient(*cn);
986 if(pl) loopi(NUMGUNS) concatformatstring(weapstring, "%s%d %d", strlen(weapstring) ? " " : "", pl->pstatshots[i], pl->pstatdamage[i]);
987 result(weapstring);
988}
989
990COMMAND(pstat_weap, "i");
991

Callers

nothing calls this directly

Calls 4

getclientFunction · 0.85
concatformatstringFunction · 0.85
resultFunction · 0.85
loopiFunction · 0.70

Tested by

no test coverage detected