diff --git a/FPSMaxEnforce/scripting/FPSMaxEnforce.sp b/FPSMaxEnforce/scripting/FPSMaxEnforce.sp index 728be18..0925616 100644 --- a/FPSMaxEnforce/scripting/FPSMaxEnforce.sp +++ b/FPSMaxEnforce/scripting/FPSMaxEnforce.sp @@ -43,7 +43,10 @@ public void OnConVarQueryFinished(QueryCookie cookie, int client, ConVarQueryRes if (result != ConVarQuery_Okay) LogError("Could not query ConVar \"cvarName\" for %N", client); + //fps_max 0 is probably acceptable + if (StringToInt(cvarValue) == 0) + return; if (StringToInt(cvarValue) < 58) KickClient(client, "Your fps_max is invalid, please set it to a higher value (>59)"); -} \ No newline at end of file +}