📄 perfect ogl flashhack.txt
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -