diff --git a/r5dev/tier1/IConVar.cpp b/r5dev/tier1/IConVar.cpp index 3b5c5745..639a97be 100644 --- a/r5dev/tier1/IConVar.cpp +++ b/r5dev/tier1/IConVar.cpp @@ -256,6 +256,7 @@ void ConVar::InitShipped(void) #endif // !GAMEDLL_S0 && !GAMEDLL_S1 #endif // !CLIENT_DLL developer = g_pCVar->FindVar("developer"); + fps_max = g_pCVar->FindVar("fps_max"); #ifndef DEDICATED cl_threaded_bone_setup = g_pCVar->FindVar("cl_threaded_bone_setup"); #endif // !DEDICATED @@ -287,8 +288,12 @@ void ConVar::InitShipped(void) host_hasIrreversibleShutdown = g_pCVar->FindVar("host_hasIrreversibleShutdown"); net_usesocketsforloopback = g_pCVar->FindVar("net_usesocketsforloopback"); #ifndef CLIENT_DLL - sv_showhitboxes = g_pCVar->FindVar("sv_showhitboxes"); sv_stats = g_pCVar->FindVar("sv_stats"); + + sv_updaterate_mp = g_pCVar->FindVar("sv_updaterate_mp"); + sv_updaterate_sp = g_pCVar->FindVar("sv_updaterate_sp"); + + sv_showhitboxes = g_pCVar->FindVar("sv_showhitboxes"); sv_forceChatToTeamOnly = g_pCVar->FindVar("sv_forceChatToTeamOnly"); sv_showhitboxes->SetMin(-1); // Allow user to go over each entity manually without going out of bounds. diff --git a/r5dev/tier1/cvar.cpp b/r5dev/tier1/cvar.cpp index d7fc0e5b..8623e20b 100644 --- a/r5dev/tier1/cvar.cpp +++ b/r5dev/tier1/cvar.cpp @@ -17,6 +17,7 @@ ConVar* enable_debug_overlays = nullptr; ConVar* debug_draw_box_depth_test = nullptr; ConVar* developer = nullptr; +ConVar* fps_max = nullptr; ConVar* staticProp_defaultBuildFrustum = nullptr; ConVar* staticProp_no_fade_scalar = nullptr; @@ -82,6 +83,9 @@ ConVar* sv_banlistRefreshRate = nullptr; ConVar* sv_statusRefreshRate = nullptr; ConVar* sv_forceChatToTeamOnly = nullptr; +ConVar* sv_updaterate_mp = nullptr; +ConVar* sv_updaterate_sp = nullptr; + ConVar* sv_autoReloadRate = nullptr; ConVar* sv_quota_stringCmdsPerSecond = nullptr; diff --git a/r5dev/tier1/cvar.h b/r5dev/tier1/cvar.h index 87fcd4b3..487f0b9a 100644 --- a/r5dev/tier1/cvar.h +++ b/r5dev/tier1/cvar.h @@ -13,6 +13,7 @@ extern ConVar* enable_debug_overlays; extern ConVar* debug_draw_box_depth_test; extern ConVar* developer; +extern ConVar* fps_max; extern ConVar* staticProp_defaultBuildFrustum; extern ConVar* staticProp_no_fade_scalar; @@ -78,6 +79,9 @@ extern ConVar* sv_banlistRefreshRate; extern ConVar* sv_statusRefreshRate; extern ConVar* sv_forceChatToTeamOnly; +extern ConVar* sv_updaterate_mp; +extern ConVar* sv_updaterate_sp; + extern ConVar* sv_autoReloadRate; extern ConVar* sv_quota_stringCmdsPerSecond;