Ok im writing a server plugin and im going to have to learn from trying things out.
I need to get started and im wondering how i would create a command
where foresay i type mx_version and it will display the version on of the plugin
is this what i would do
Code:
CON_COMMAND( empty_version, "prints the version of the empty plugin" )
{
Msg( "Version:1.0.0.0\n" );
}
CON_COMMAND( empty_log, "logs the version of the empty plugin" )
{
engine->LogPrint( "Version:1.0.0.0\n" );
}
//---------------------------------------------------------------------------------
// Purpose: an example cvar
//---------------------------------------------------------------------------------
static ConVar empty_cvar("plugin_empty", "0", 0, "Example plugin cvar");
i dont know though :S