mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2024-12-23 01:59:43 +08:00
30 lines
762 B
C++
30 lines
762 B
C++
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
// $NoKeywords: $
|
|
//=============================================================================//
|
|
#include "cbase.h"
|
|
#include "gamevars_shared.h"
|
|
|
|
// memdbgon must be the last include file in a .cpp file!!!
|
|
#include "tier0/memdbgon.h"
|
|
|
|
// some shared cvars used by game rules
|
|
ConVar mp_forcecamera(
|
|
"mp_forcecamera",
|
|
"0",
|
|
FCVAR_REPLICATED,
|
|
"Restricts spectator modes for dead players" );
|
|
|
|
ConVar mp_allowspectators(
|
|
"mp_allowspectators",
|
|
"1.0",
|
|
FCVAR_REPLICATED,
|
|
"toggles whether the server allows spectator mode or not" );
|
|
|
|
ConVar friendlyfire(
|
|
"mp_friendlyfire",
|
|
"0",
|
|
FCVAR_REPLICATED | FCVAR_NOTIFY );
|