What this does is block the "status" command of the console, I would like it to be announced in the console with PrintToConsole, for example:
Code:
PrintToConsole(client, "You do not have access to this information");
PHP Code:
#include <sourcemod>
#pragma semicolon 1
public OnPluginStart()
{
RegConsoleCmd("status", Command_Block);
}
public Action:Command_Block(client, args)
{
return Plugin_Stop;
}
public Action:Command_JoinTeam(client_index, args)
{
if (GetClientTeam(client_index) > 1)
return Plugin_Handled;
return Plugin_Continue;
}