Skip to content

Instantly share code, notes, and snippets.

@kimoto
Created August 21, 2010 18:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kimoto/542692 to your computer and use it in GitHub Desktop.
Save kimoto/542692 to your computer and use it in GitHub Desktop.
#include <sourcemod>
#define PLUGIN_VERSION "1.0.0"
public Plugin:myinfo =
{
name = "cant say plugin",
author = "kimoto",
description = "cant use console command: say",
version = PLUGIN_VERSION,
url = ""
}
public OnPluginStart()
{
AddCommandListener(NOPCallback, "say");
AddCommandListener(NOPCallback, "say_team");
}
// no operation callback function
public Action:NOPCallback(client, const String:command[], argc)
{
return Plugin_Handled;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment