perfect ogl flashhack.txt
来自「* first open client.cpp and search for t」· 文本 代码 · 共 33 行
TXT
33 行
This one checks for fullscreen of color white before it removes it if its not fullscreen the white color it detects then it dosen't remove it, this does so you won't have the problem of not being able to see your self on scoreboard amongst other things.
----at globals/at the top---------
bool bFlash;
static GLint vp[4];
----in glBegin----------
if(mode==GL_QUADS)
{
glGetIntegerv(GL_VIEWPORT,vp);
bFlash = false;
GLfloat curcol2[4];
glGetFloatv(GL_CURRENT_COLOR, curcol2);
if((curcol2[0]==1.0f)&&(curcol2[1]==1.0f)&&(curcol2[2]==1.0f))
{
bFlash=true;
}
}
------glVertex2f-----
if(bFlash)
{
if(y==vp[3])
{
GLfloat fcurcol[4];
glGetFloatv(GL_CURRENT_COLOR, fcurcol);
glColor4f(fcurcol[0],fcurcol[1],fcurcol[2],0.01f);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?