From 7887aa29f42dccaff7e3ea9db7b7a5e950c1098c Mon Sep 17 00:00:00 2001 From: Kristian Date: Mon, 25 Mar 2019 19:37:07 +0100 Subject: [PATCH] gsx update Same update as previous one for the non cod4x version. --- codjumper/_cod_jumper_utility.gsx | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/codjumper/_cod_jumper_utility.gsx b/codjumper/_cod_jumper_utility.gsx index d870ba6..6da8976 100644 --- a/codjumper/_cod_jumper_utility.gsx +++ b/codjumper/_cod_jumper_utility.gsx @@ -1,11 +1,6 @@ #include codjumper\_cj_utility; #include common_scripts\utility; -init() -{ - level.cj_block_clienthud = 0; -} - waitHudRefresh() { self endon("disconnect"); @@ -25,7 +20,6 @@ setupDefaults() self waittill("spawned"); while(!isDefined(self.cj) || !isDefined(self.cj["hud"])) wait 0.05; self.client_fps = int(getmaxfps()); - self.cj_block_clienthud = 0; self thread waitHudRefresh(); self thread updateClientVars(); } @@ -72,14 +66,11 @@ playerHUDLoop() self endon( "joined_spectators" ); self endon( "refresh_huds"); self destroyPlayerHUDs(); - if(level.cj_block_clienthud || self.cj_block_clienthud) return; - //if(self codjumper\_cj_utility::get_cjcfg("CJ_HUD_FPS_CLIENT") == 1) - //{ - self.cj["hud"]["fps"] = addTextHud(self, 0, -187, 1 , "center", "middle", "center","middle",2.5,0); - self.cj["hud"]["fps"].hidewheninmenu = 1; - self.cj["hud"]["fps"] setValue(self.client_fps); - //} + self.cj["hud"]["fps"] = addTextHud(self, 0, -187, 1 , "center", "middle", "center","middle",2.5,0); + self.cj["hud"]["fps"].hidewheninmenu = 1; + self.cj["hud"]["fps"] setValue(self.client_fps); + last_fps = self.client_fps; while(1) {