mirror of
https://github.com/fedddddd/iw5-gsc-utils.git
synced 2025-04-22 21:55:42 +00:00
13 lines
240 B
C++
13 lines
240 B
C++
#include <stdinc.hpp>
|
|
|
|
namespace game
|
|
{
|
|
void SV_GameDropClient(int clientNum, const char* reason)
|
|
{
|
|
if (clientNum >= 0 && clientNum < sv_maxclients->current.integer)
|
|
{
|
|
SV_DropClient(&svs_clients[clientNum], reason, true);
|
|
}
|
|
}
|
|
}
|