added support for bot's pings in scoreboard
controlled via yb_latency_display = 2 thanks to podbotmm project
This commit is contained in:
parent
973b336977
commit
8da986cf37
7 changed files with 203 additions and 42 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue