mirror of
https://github.com/fedddddd/iw5-gsc-utils.git
synced 2025-07-03 17:51:55 +00:00
Add function drop all bots
This commit is contained in:
@ -2,5 +2,13 @@
|
||||
|
||||
namespace game
|
||||
{
|
||||
void SV_GameDropClient(int clientNum, const char* reason)
|
||||
{
|
||||
assert(sv_maxclients->current.integer >= 1 && sv_maxclients->current.integer <= 18);
|
||||
|
||||
if (clientNum >= 0 && clientNum < sv_maxclients->current.integer)
|
||||
{
|
||||
SV_DropClient(&svs_clients[clientNum], reason, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user