Fixed a million bugs in reserved slots plugin - should be perfect now (I hope)

Finalized KickClient native

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401004
This commit is contained in:
Scott Ehlert
2007-06-22 03:43:00 +00:00
parent 58eedf6226
commit db83c8e2d9
2 changed files with 22 additions and 13 deletions
+1 -3
View File
@@ -933,9 +933,7 @@ static cell_t KickClient(IPluginContext *pContext, const cell_t *params)
if (pPlayer->IsFakeClient())
{
char kickcmd[64];
/* :TODO: Define BotKickCmd in core.games.txt so that "bot_kick" can be used in CS:S */
char kickcmd[40];
UTIL_Format(kickcmd, sizeof(kickcmd), "kick %s\n", pPlayer->GetName());
engine->ServerCommand(kickcmd);