by Spike » Tue Mar 03, 2015 10:03 am
ssqc defs:
void(float num, float type, .__variant fld) clientstat = #232;
float EV_FLOAT = 2;
.float flash_time;
ssqc worldspawn:
clientstat(32, EV_FLOAT, flash_time);
ssqc anywhere you want:
self.flash_time = time;
csqc code somewhere:
float myflashtime = getstatf(32);
print(sprintf("player.flash_time = %g\n", myflashtime));
.