diff -r 1753f7a9b2f2 -r 5433659a62ae sourcemm/sample_mm/cvars.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sourcemm/sample_mm/cvars.cpp Thu May 26 08:32:34 2005 +0000 @@ -0,0 +1,27 @@ +/* ======== sample_mm ======== +* Copyright (C) 2004-2005 Metamod:Source Development Team +* No warranties of any kind +* +* License: zlib/libpng +* +* Author(s): David "BAILOPAN" Anderson +* ============================ +*/ + +#include "SamplePlugin.h" +#include "cvars.h" + +SampleAccessor g_Accessor; + +ConVar g_MyConVar("sample_version", SAMPLE_VERSION, FCVAR_SPONLY, "Sample Plugin version"); + +bool SampleAccessor::RegisterConCommandBase(ConCommandBase *pVar) +{ + //this will work on any type of concmd! + return META_REGCVAR(pVar); +} + +CON_COMMAND(sample_cmd, "Sample Plugin command") +{ + META_LOG(g_PLAPI, "This sentence is in Spanish when you're not looking."); +}