FakePopulation: maybe its better to disable this

This commit is contained in:
Dogan 2019-09-29 22:48:12 +02:00
parent 9ace3eb0a1
commit 32a689788f

View File

@ -33,7 +33,7 @@ public Plugin myinfo =
public void OnPluginStart() public void OnPluginStart()
{ {
RegAdminCmd("sm_debugfakes", Command_DebugFakes, ADMFLAG_RCON, ""); RegAdminCmd("sm_debugfakes", Command_DebugFakes, ADMFLAG_RCON, "");
RegAdminCmd("sm_setfakes", Command_SetFakes, ADMFLAG_RCON, ""); //RegAdminCmd("sm_setfakes", Command_SetFakes, ADMFLAG_RCON, "");
g_iAdminFakes = -1; g_iAdminFakes = -1;
g_bMapEnded = false; g_bMapEnded = false;
@ -112,7 +112,7 @@ public Action Command_DebugFakes(int client, int argc)
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------
// Purpose: // Purpose:
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------
public Action Command_SetFakes(int client, int argc) /*public Action Command_SetFakes(int client, int argc)
{ {
if (argc < 1) if (argc < 1)
{ {
@ -132,8 +132,7 @@ public Action Command_SetFakes(int client, int argc)
ReplyToCommand(client, "[SM] You set the amount of Fake Players to %d.", g_iAdminFakes); ReplyToCommand(client, "[SM] You set the amount of Fake Players to %d.", g_iAdminFakes);
CheckPopulation(); CheckPopulation();
return Plugin_Handled; return Plugin_Handled;
}*/
}
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------
// Purpose: // Purpose:
@ -319,4 +318,4 @@ public void OnGameFrame()
SetEntProp(iResEnt, Prop_Send, "m_iPing", g_iLatency[i], _, i); SetEntProp(iResEnt, Prop_Send, "m_iPing", g_iLatency[i], _, i);
} }
} }
} }