Add speed to CS:GO bot HUD

This commit is contained in:
strafe 2019-01-13 12:23:04 +00:00
parent 34fb49ec7b
commit 9d24c5512f

View File

@ -950,6 +950,12 @@ void AddHUDToBuffer_CSGO(int client, huddata_t data, char[] buffer, int maxlen)
FormatEx(sLine, 128, "%s / %s (%.1f%%)", sTime, sWR, ((data.fTime / data.fWR) * 100));
AddHUDLine(buffer, maxlen, sLine);
}
if((gI_HUD2Settings[client] & HUD2_SPEED) == 0)
{
FormatEx(sLine, 128, "%d u/s", data.iSpeed);
AddHUDLine(buffer, maxlen, sLine);
}
}
else