状态信息 显示代码
if(cvar.hudstats)
{
PlayerInfo& r = vPlayers[me.ent->index];
int hudstats_x = 10;
int hudstats_y = 200;
ColorEntry* clr = colorList.get(3);
DrawHudString(hudstats_x, hudstats_y+200, 0,129,196, ":[: hack name :]:");
DrawHudString(hudstats_x, hudstats_y+220, 0,129,196, ":[: Weapon %s :]:",gGetWeaponName(me.ent->curstate.weaponmodel));
DrawHudString(hudstats_x, hudstats_y+240, 0,129,196, ":[: killed %d :]:", r.frags);
DrawHudString(hudstats_x, hudstats_y+260, 0,129,196, ":[: deaths %d :]:", r.deaths);
DrawHudString(hudstats_x, hudstats_y+280, 0,129,196, ":[: headshots %d :]:", me.headshots);
DrawHudString(hudstats_x, hudstats_y+300, 0,129,196, ":[: HS Percentage %4.1f :]:", me.hspercent);
DrawHudString(hudstats_x, hudstats_y+320, 0,129,196, ":[: Spread Values %f :]:", me.spread.spreadvar);
DrawHudString(hudstats_x, hudstats_y+340, 0,129,196, ":[: Recoil %f :]:",cvar.recoil);
}