Add 'sv_cheats' cvar to SDK

This commit is contained in:
Kawe Mazidjatari 2023-04-15 00:18:13 +02:00
parent 8611a0c607
commit 0ffcca14ab
2 changed files with 3 additions and 0 deletions

View File

@ -115,6 +115,7 @@ extern ConVar* sv_rcon_maxsockets;
extern ConVar* sv_rcon_whitelist_address; extern ConVar* sv_rcon_whitelist_address;
//#endif // DEDICATED //#endif // DEDICATED
#endif // CLIENT_DLL #endif // CLIENT_DLL
extern ConVar* sv_cheats;
extern ConVar* sv_visualizetraces; extern ConVar* sv_visualizetraces;
extern ConVar* sv_visualizetraces_duration; extern ConVar* sv_visualizetraces_duration;
#if !defined (GAMEDLL_S0) && !defined (GAMEDLL_S1) #if !defined (GAMEDLL_S0) && !defined (GAMEDLL_S1)

View File

@ -109,6 +109,7 @@ ConVar* sv_rcon_maxsockets = nullptr;
ConVar* sv_rcon_whitelist_address = nullptr; ConVar* sv_rcon_whitelist_address = nullptr;
//#endif // DEDICATED //#endif // DEDICATED
#endif // !CLIENT_DLL #endif // !CLIENT_DLL
ConVar* sv_cheats = nullptr;
ConVar* sv_visualizetraces = nullptr; ConVar* sv_visualizetraces = nullptr;
ConVar* sv_visualizetraces_duration = nullptr; ConVar* sv_visualizetraces_duration = nullptr;
#if !defined (GAMEDLL_S0) && !defined (GAMEDLL_S1) #if !defined (GAMEDLL_S0) && !defined (GAMEDLL_S1)
@ -494,6 +495,7 @@ void ConVar::InitShipped(void)
staticProp_gather_size_weight = g_pCVar->FindVar("staticProp_gather_size_weight"); staticProp_gather_size_weight = g_pCVar->FindVar("staticProp_gather_size_weight");
stream_overlay = g_pCVar->FindVar("stream_overlay"); stream_overlay = g_pCVar->FindVar("stream_overlay");
stream_overlay_mode = g_pCVar->FindVar("stream_overlay_mode"); stream_overlay_mode = g_pCVar->FindVar("stream_overlay_mode");
sv_cheats = g_pCVar->FindVar("sv_cheats");
sv_visualizetraces = g_pCVar->FindVar("sv_visualizetraces"); sv_visualizetraces = g_pCVar->FindVar("sv_visualizetraces");
sv_visualizetraces_duration = g_pCVar->FindVar("sv_visualizetraces_duration"); sv_visualizetraces_duration = g_pCVar->FindVar("sv_visualizetraces_duration");
old_gather_props = g_pCVar->FindVar("old_gather_props"); old_gather_props = g_pCVar->FindVar("old_gather_props");