PHP Code:
static const char CMD[] = "ent_create";
static int FLAGS;
public void OnPluginStart()
{
FLAGS = GetCommandFlags(CMD);
SetCommandFlags(CMD, (FLAGS & ~FCVAR_CHEAT));
}
public void OnPluginEnd()
{
SetCommandFlags(CMD, FLAGS);
}
But this plugin will allow to use
ent_create with any arguments for any player.
__________________