added support for bot's pings in scoreboard

controlled via yb_latency_display = 2

thanks to podbotmm project
This commit is contained in:
jeefo 2014-08-01 22:28:45 +04:00
commit 8da986cf37
7 changed files with 203 additions and 42 deletions

View file

@ -991,20 +991,6 @@ void ServerCommand (const char *format, ...)
SERVER_COMMAND (FormatBuffer ("%s\n", string)); // execute command
}
float GetWorldTime (void)
{
// this function returns engine current time on this server
return g_pGlobals->time;
}
int GetMaxClients (void)
{
// this function returns current players on server
return g_pGlobals->maxClients;
}
const char *GetMapName (void)
{
// this function gets the map name and store it in the map_name global string variable.