i've found that in CSQC_UpdateView() in qcsrc/client/main.c on line 68 to 81 :
- Code: Select all
if(cvar("cg_showvelocity"))
{
local float f;
local string s;
f = pl_xyspeed;
if(max_ups < f)
max_ups = f;
s = ftos(f);
s = strcat(s, " ups");
drawstring('1 0 0'*vid_width + '-64 64 0', s, '8 8 0', VEC_1, 1, 0);
s = ftos(max_ups);
s = strcat(s, " max");
drawstring('1 0 0'*vid_width + '-64 72 0', s, '8 8 0', VEC_1, 1, 0);
}
but it doesn't seeme to work...
why ?
is the function called ?