mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 10:28:26 +00:00
Add speed to CS:GO bot HUD
This commit is contained in:
parent
34fb49ec7b
commit
9d24c5512f
@ -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));
|
FormatEx(sLine, 128, "%s / %s (%.1f%%)", sTime, sWR, ((data.fTime / data.fWR) * 100));
|
||||||
AddHUDLine(buffer, maxlen, sLine);
|
AddHUDLine(buffer, maxlen, sLine);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if((gI_HUD2Settings[client] & HUD2_SPEED) == 0)
|
||||||
|
{
|
||||||
|
FormatEx(sLine, 128, "%d u/s", data.iSpeed);
|
||||||
|
AddHUDLine(buffer, maxlen, sLine);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user