Skip to content

Commit 9e30dfb

Browse files
committed
Added version cvar
1 parent 2a35046 commit 9e30dfb

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed

plugins/l4d2_simpleplayerstats.smx

-34 Bytes
Binary file not shown.

scripting/l4d2_simpleplayerstats.sp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ public void OnPluginStart()
184184
char defaultTopPlayerStr[32];
185185
IntToString(DEFAULT_TOP_PLAYERS, defaultTopPlayerStr, sizeof(defaultTopPlayerStr));
186186

187+
CreateConVar("pstats_version", PLUGIN_VERSION, "Plugin Version", FCVAR_DONTRECORD|FCVAR_NOTIFY);
187188
g_bEnabled = CreateConVar("pstats_enabled", "1", "Enable/Disable tracking", _, true, 0.0, true, 1.0);
188189
g_bDebug = CreateConVar("pstats_debug_enabled", "0", "Enable debug messages", _, true, 0.0, true, 1.0);
189190
g_bVersusExclusive = CreateConVar("pstats_versus_exclusive", "1", "If set, stats collection will be exclusive to versus mode only", _, true, 0.0, true, 1.0);

0 commit comments

Comments
 (0)