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

Function colorping

source/src/clientgame.cpp:69–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69char *colorping(int ping)
70{
71 static string cping;
72 formatstring(cping)("\fs\f%d%d\fr", ping <= 500 ? 0 : ping <= 1000 ? 2 : 3, ping);
73 return cping;
74}
75
76char *colorpj(int pj)
77{

Callers 2

loopvFunction · 0.85
renderscoreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected