less freeze.txt

来自「* first open client.cpp and search for t」· 文本 代码 · 共 45 行

TXT
45
字号
This code make you less freeze 

********** 
FIRST TIME 
********** 
open the client.cpp and search <<int HUD_Redraw (float x, int y)>> 
you will see that : 

*** int nResult=0; *** 
*** pHUD_Redraw(x,y);*** 

put under : /*-------------------------------------------------*/ 
//================= NO FREEZE ====================== 
if( me.ent->curstate.animtime != me.lastAnim ) 
{ 
me.lastAnim = me.ent->curstate.animtime; 
me.framesFrozen = 0; 
} 
else 
me.framesFrozen++; 

if( me.alive ) 
me.frozen = (me.framesFrozen > cvar.freezeframes); 
/*-------------------------------------------------*/ 


************ 
SECOND TIME 
************ 

open the client.h and add this : 

int framesFrozen; 
bool frozen; 
float lastAnim; 

********* 
LAST TIME 
********* 
open the cvar.cpp and add : REGISTER_CVAR_INT ( freezeframes, 0 ); 

now open cvar.h and add : int freezeframes; 

so u will type in ur CFG : freezeframes 50 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?