enable sm_setfakes
This commit is contained in:
parent
86bd0d222e
commit
53556925a1
@ -34,7 +34,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;
|
||||||
@ -115,7 +115,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)
|
||||||
{
|
{
|
||||||
@ -135,7 +135,7 @@ public Action Command_DebugFakes(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:
|
||||||
|
Loading…
Reference in New Issue
Block a user