Code:
//Menu
CHAR MenuTitle[25] = { "steven1578’s hacks" };
INT MenuSelection;
BOOL Menu = TRUE;
BOOL bFont;
char *Folar[2] = {"Off","On"};
char *Speed[5] = {"Off", "x1.5", "x2","x3", "x4"};
char *Folder[2] = {"+","-"};
//Menu Settings
int menu_x = 0;
int menu_y = 0;
int Menu_x = 15;
int Menu_y = 15;
int Current = 1;
//Hack Variables
INT FPS; INT FPSx1;
INT Cross;
INT sl; INT slx1;
INT Removers;
INT Visual;
INT tr; INT trx1;
INT Fog; INT Fogx1;
INT box; INT boxx1;
INT jump; INT jumpx1;
INT fly; INT flyx1;
INT hover; INT hoverx1;
INT glow; INT glowx1;
INT nokb; INT kokbx1;
INT pick; INT pickx1;
INT nospr; INT nosprx1;
INT norec; INT norecx1;
INT norel; INT norelx1;
INT weapon; INT weaponx1;
INT sbull; INT sbullx1;
INT rapidfire; INT rapidfirex1;
INT espname; INT espnamex1;
INT visual; INT visualx1;
INT removers; INT removersx1;
INT others; INT othersx1;
INT glitch; INT glitchx1;
INT winm; INT winmx1;
INT Game;
INT M3nu;
INT cTime;
INT Info;
INT VIP;
INT OPK;
INT NPCOPK;
INT f1;
INT spick;
INT move;
INT Ghostmode;
INT mahsartor;
INT MoveMenu;
INT ww;
INT zelfm;
INT drawg;
INT ff;
INT sd;
INT sky;
int speed = 0;
bool Flags[80];
Additem("Visuals",1,Visual,1,Folder,pDevice);
if(Visual)
{
Additem(" Sat Ch4ms",1,sl,0,Folar,pDevice);
Additem(" CrossHair",1,Cross,0,Folar,pDevice);
Additem(" Tracers",1,tr,0,Folar,pDevice);
Additem(" WhiteWalls",1,ww,0,Folar,pDevice);
Additem(" PlayerGlow",1,glow,0,Folar,pDevice);
Additem(" NameTags",1,espname,0,Folar,pDevice);
Additem(" DrawGuns",1,drawg,0,Folar,pDevice);
Additem(" Fullbright",1,sd,0,Folar,pDevice);
}
Additem("Removers",1,Removers,1,Folder,pDevice);
if(Removers)
{
Additem(" Nofog",1,Fog,0,Folar,pDevice);
Additem(" NoSky",1,sky,0,Folar,pDevice);
Additem(" No Recoil",1,norec,0,Folar,pDevice);
Additem(" No Spread",1,nospr,0,Folar,pDevice);
Additem(" No Reload",1,norel,0,Folar,pDevice);
Additem(" No Range",1,weapon,0,Folar,pDevice);
}
Additem("Others",1,others,1,Folder,pDevice);
if(others)
{
Additem(" Fly [Space]",1,fly,0,Folar,pDevice);
Additem(" Hover",1,hover,0,Folar,pDevice);
Additem(" Jump Hack",1,jump,0,Folar,pDevice);
Additem(" Speed Hack",5,speed,0,Speed,pDevice);
Additem(" Activation",1,pick,0,Folar,pDevice);
Additem(" SuperPickup",1,spick,0,Folar,pDevice);
}
Additem("VIPs",1,VIP,1,Folder,pDevice);
if(VIP)
{
Additem(" SuperBullets",1,sbull,0,Folar,pDevice);
Additem(" RapidFire",1,rapidfire,0,Folar,pDevice);
Additem(" Telekill",1,f1,0,Folar,pDevice);
Additem(" Semi-OPK",1,OPK,0,Folar,pDevice);
Additem(" NPC-OPK",1,NPCOPK,0,Folar,pDevice);
Additem(" Beta Ghostmode",1,Ghostmode,0,Folar,pDevice);
}
Additem("Game",1,Game,1,Folder,pDevice);
if(Game)
{
Additem(" Show FPS",1,FPS,0,Folar,pDevice);
Additem(" Window Mode",1,winm,0,Folar,pDevice);
Additem(" Suicide",1,zelfm,0,Folar,pDevice);
Additem(" FriendlyFire",1,ff,0,Folar,pDevice);
}
Additem("Menu",1,M3nu,1,Folder,pDevice);
if(M3nu)
{
Additem(" Move Menu",1,MoveMenu,0,Folar,pDevice);
Additem(" Save Settings",1,MoveMenu,0,Folar,pDevice);
Additem(" Load Settings",1,MoveMenu,0,Folar,pDevice);
Additem(" Time",1,cTime,0,Folar,pDevice);
}
/* Additem("ESP",1,ESP,1,Folder,pDevice);
if(ESP)
{
Additem(" Lines",1,DrawLine,0,Folar,pDevice);
Additem(" Box",1,mahsartor,0,Folar,pDevice);
Additem(" Distance",1,Distance,0,Folar,pDevice);
Additem(" HealthBar",1,HealthBar,0,Folar,pDevice);
}*/
}
if(Cross) CrossHair(pDevice, Blue);
PatchCommand(Fog ,"FogEnable 0" ,"FogEnable 1" ,Flags[0]);
PatchCommand(sl ,"SkelModelStencil 1" ,"SkelModelStencil 0",Flags[1]);
PatchCommand(jump && (GetAsyncKeyState(VK_SPACE)),"JumpVel 600" ,"JumpVel 300",Flags[17]);
PatchCommand(hover, "PlayerGravity 0" , "PlayerGravity -800",Flags[18]);
PatchCommand(hover, "PlayerVelocity 0", "PlayerVelocity 1",Flags[19]);
PatchCommand(fly && !flyx1 && (GetAsyncKeyState(VK_SPACE) < 0), "PlayerGravity 800", "PlayerGravity -800",Flags[20]);
PatchCommand(nospr, "PerturbRotationEffect 0.000000", "PerturbRotationEffect 3.000000",Flags[21]);
PatchCommand(nospr, "PerturbIncreaseSpeed 0.000000", "PerturbIncreaseSpeed 3.000000",Flags[22]);
PatchCommand(nospr, "PerturbWalkPercent 0.000000", "PerturbWalkPercent 9.000000",Flags[23]);
PatchCommand(nospr, "PerturbFiringIncreaseSpeed 0.000000", "PerturbFiringIncreaseSpeed 0.500000",Flags[24]);
PatchCommand(nospr, "PerturbRecoil 0.000000", "PerturbRecoil 9.000000",Flags[25]);
PatchCommand(nospr, "FireMovePerturb 0.000000", "FireMovePerturb 9.000000",Flags[26]);
PatchCommand(nospr, "PerturbRecoil 0.000000", "PerturbRecoil 9.000000",Flags[27]);
PatchCommand(nospr, "FireMovePerturb 0.000000", "FireMovePerturb 9.000000",Flags[28]);
PatchCommand(nospr, "ZoomedFireMoveDuckPerturb 0.000000", "ZoomedFireMoveDuckPerturb 9.000000",Flags[29]);
PatchCommand(nospr, "ZoomedFireDuckPerturb 0.000000", "ZoomedFireDuckPerturb 9.000000",Flags[30]);
PatchCommand(pick, "ActivationDistance 100000", "ActivationDistance 100",Flags[31]);
PatchCommand(FPS, "ShowFPS 1", "ShowFPS 0",Flags[32]);
PatchCommand(tr, "ShowFirePath 1", "ShowFirePath 0",Flags[33]);
PatchCommand(glow, "ScreenGlowEnable 1", "ScreenGlowEnable 0",Flags[34]);
PatchCommand(winm, "windowed 1", "windowed 0",Flags[35]);
PatchCommand(zelfm, "FragSelf 1", "FragSelf 0",Flags[55]);
PatchCommand(ww, "DrawFlat 1", "DrawFlat 0",Flags[56]);
PatchCommand(drawg, "drawguns 0", "drawguns 1",Flags[57]);
PatchCommand(ff, "FriendlyFire_On 1", "FriendlyFire_Off 1",Flags[58]);
PatchCommand(sd, "FullBright 1", "FullBright 0",Flags[59]);
PatchCommand(sky, "SkyEnable 0", "SkyEnable 1",Flags[60]);
if(speed==1)
{
PatchCommand(speed ,"WalkVel 105" ,"WalkVel 70",Flags[36]);
PatchCommand(speed,"FRunVel 427" ,"FRunVel 285",Flags[37]);
PatchCommand(speed,"BRunVel 427" ,"BRunVel 285",Flags[38]);
PatchCommand(speed,"SRunVel 427" ,"SRunVel 285",Flags[39]);
PatchCommand(speed,"DuckVel 75" ,"DuckVel 50",Flags[40]);
}
if(speed==2)
{
PatchCommand(speed ,"WalkVel 140" ,"WalkVel 70",Flags[41]);
PatchCommand(speed,"FRunVel 570" ,"FRunVel 285",Flags[42]);
PatchCommand(speed,"BRunVel 570" ,"BRunVel 285",Flags[43]);
PatchCommand(speed,"SRunVel 570" ,"SRunVel 285",Flags[44]);
PatchCommand(speed,"DuckVel 100" ,"DuckVel 50",Flags[45]);
}
if(speed==3)
{
PatchCommand(speed ,"WalkVel 210" ,"WalkVel 70",Flags[46]);
PatchCommand(speed,"FRunVel 855" ,"FRunVel 285",Flags[47]);
PatchCommand(speed,"BRunVel 855" ,"BRunVel 285",Flags[48]);
PatchCommand(speed,"SRunVel 855" ,"SRunVel 285",Flags[49]);
PatchCommand(speed,"DuckVel 150" ,"DuckVel 50",Flags[50]);
}
if (speed==4)
{
PatchCommand(speed ,"WalkVel 280" ,"WalkVel 70",Flags[51]);
PatchCommand(speed,"FRunVel 1140" ,"FRunVel 285",Flags[51]);
PatchCommand(speed,"BRunVel 1140" ,"BRunVel 285",Flags[52]);
PatchCommand(speed,"SRunVel 1140" ,"SRunVel 285",Flags[53]);
PatchCommand(speed,"DuckVel 200" ,"DuckVel 50",Flags[54]);
}
chopped unneccrasairy things