From cc9a34c4d38d553078c15d4498445faf5a9976d3 Mon Sep 17 00:00:00 2001 From: "Marius \"Teelevision\" Neugebauer" Date: Sat, 5 Apr 2014 05:01:53 +0200 Subject: added bot hint to status in the rcon --- src/game/server/gamecontext.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/game/server/gamecontext.cpp') diff --git a/src/game/server/gamecontext.cpp b/src/game/server/gamecontext.cpp index 307d446a..4dab670e 100644 --- a/src/game/server/gamecontext.cpp +++ b/src/game/server/gamecontext.cpp @@ -1940,6 +1940,11 @@ bool CGameContext::IsClientPlayer(int ClientID) return m_apPlayers[ClientID] && m_apPlayers[ClientID]->GetTeam() == TEAM_SPECTATORS ? false : true; } +bool CGameContext::IsClientAimBot(int ClientID) +{ + return m_apPlayers[ClientID] && m_apPlayers[ClientID]->m_IsAimBot; +} + const char *CGameContext::GameType() { return m_pController && m_pController->m_pGameType ? m_pController->m_pGameType : ""; } const char *CGameContext::Version() { return GAME_VERSION; } const char *CGameContext::NetVersion() { return GAME_NETVERSION; } -- cgit 1.4.1