another stupid & probably quick question - player data


(klines) #1

ive been editing the scoreboard in my client side mod, but the kills and deaths always show up as 0 kills and 0 deaths for everyone, until the map ends (scoreboard/stats/awards/etc where it says allies/axis wins). ive been looking around the code for a fix, but cant find anything. here is the code im using:

CG_DrawSmallString( tempx, y, va( "%d", ci->deaths ), fade );

any suggestions? thanks in advance, sam kline.


(klines) #2

bump.
any ideas?


(Jaquboss) #3

because clientInfo->deaths is used only in intermission when clients ask server for it
you can use something else