1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-12-04 16:24:16 +01:00
HLMetaModOfficial/sourcemm/sample_mm/cvars.cpp
Scott Ehlert 70b09a0217 One more commit before I collapse from lack of sleep :o
Bumped copyright years on some files (mostly sample plugin stuff)
Updated changelog (I think this is worthy of note, no?)

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40271
2006-08-13 11:55:42 +00:00

28 lines
654 B
C++

/* ======== sample_mm ========
* Copyright (C) 2004-2006 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.");
}