Scarface [DDR]
10th July 2003, 12:38
void APIENTRY my_glBegin( GLenum mode )
{
if((GetAsyncKeyState(VK_RBUTTON) & 1) == 1)
{
SetCursorPos(300,300);
}
if(mode==GL_QUADS)
{
drawQuads=true;
bSky=true;
}
else
{
drawQuads=false;
bSky=false;
}
if(mode==GL_QUADS) // Anti Smoke Code
{
GLfloat curcol2[4];
glGetFloatv(GL_CURRENT_COLOR, curcol2);
if((curcol2[0]==curcol2[1])&&(curcol2[1]==curcol2[2]))
{
if(!((curcol2[0]==1.0f)||(curcol2[0]==0.0f)))
{
glColor4f(curcol2[0],curcol2[1],curcol2[2],0.01f);
}
}
}
if(mode==GL_QUADS) // Anti Flash Code
{
GLfloat curcol3[4];
glGetFloatv(GL_CURRENT_COLOR, curcol3);
if((curcol3[0]==1.0f)&&(curcol3[1]==1.0f)&&(curcol3[2]==1.0f))
{
bFlash=true;
}
else
{
bFlash=false;
}
}
This is the code i've found in a N7 multihack only i dont know how to run it with my key system. Does anyone know how i can run the script when i press F3 and to turn it off with F3 ?
I already have a keytoggle code so the only think i gotta find out is how to run it .. So would the ub3rl33t coders please help me out? :beard:
Regards Erik
EDIT: Or does someone has a working script that i can use?
I have some ideas to make it undetectable for PB =]
{
if((GetAsyncKeyState(VK_RBUTTON) & 1) == 1)
{
SetCursorPos(300,300);
}
if(mode==GL_QUADS)
{
drawQuads=true;
bSky=true;
}
else
{
drawQuads=false;
bSky=false;
}
if(mode==GL_QUADS) // Anti Smoke Code
{
GLfloat curcol2[4];
glGetFloatv(GL_CURRENT_COLOR, curcol2);
if((curcol2[0]==curcol2[1])&&(curcol2[1]==curcol2[2]))
{
if(!((curcol2[0]==1.0f)||(curcol2[0]==0.0f)))
{
glColor4f(curcol2[0],curcol2[1],curcol2[2],0.01f);
}
}
}
if(mode==GL_QUADS) // Anti Flash Code
{
GLfloat curcol3[4];
glGetFloatv(GL_CURRENT_COLOR, curcol3);
if((curcol3[0]==1.0f)&&(curcol3[1]==1.0f)&&(curcol3[2]==1.0f))
{
bFlash=true;
}
else
{
bFlash=false;
}
}
This is the code i've found in a N7 multihack only i dont know how to run it with my key system. Does anyone know how i can run the script when i press F3 and to turn it off with F3 ?
I already have a keytoggle code so the only think i gotta find out is how to run it .. So would the ub3rl33t coders please help me out? :beard:
Regards Erik
EDIT: Or does someone has a working script that i can use?
I have some ideas to make it undetectable for PB =]