Code:
void premium()//Gold Premium
{
DWORD dwPlayerPtr = *(DWORD*)ADR_ServerPointer;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+ADR_OFS_PREMIUM1) = 3, 10; // 1 = bronze 2 = silver 3 = gold
*(float*)(dwPlayerPtr+ADR_OFS_PREMIUM2) = 1337;
}
}
Code:
void teleport()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0)
{
if (GetAsyncKeyState(VK_F10))
{
MessageBeep(MB_ICONINFORMATION);
posiX = *(float*)(dwPlayerPtr + OFS_X);
posiY = *(float*)(dwPlayerPtr + OFS_Y);
posiZ = *(float*)(dwPlayerPtr + OFS_Z);
}
if (GetAsyncKeyState(VK_F11))
{
MessageBeep(MB_ICONINFORMATION);
*(float*)(dwPlayerPtr + OFS_X) = posiX;
*(float*)(dwPlayerPtr + OFS_Y) = posiY;
*(float*)(dwPlayerPtr + OFS_Z) = posiZ;
}
}
}
Code:
void dig()
{
if(GetAsyncKeyState(VK_MENU) &1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
*(float*)(dwPlayerPtr+OFS_Z) = -1000;
}
}
Code:
void superjump()
{
if(GetAsyncKeyState(VK_CONTROL) &1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
*(float*)(dwPlayerPtr+OFS_Z) = 1500;
}
}
Code:
void nofalldamage()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_NFD) = -10000;
}
}
Code:
void all()
{
*(double*)ADR_SuperNoSpread = 0;
*(float*)ADR_UnlimitedSP = 1000000;
*(int*)Full_Bright1 = 1092779973;
*(int*)Full_Bright2 = 1092779973;
*(int*)Full_Bright3 = 1092779973;
*(int*)Addr_NoSpawn1 = 0;
*(int*)ADR_WalkUnderWater = 0;
*(float*)ADR_weapongravity = 0.001;
}
Code:
void fastall()
{
*(float*)ADR_FastAmmo = 5000000;
*(float*)ADR_FastMedic = 5000000;
*(float*)ADR_FastRepair = 5000000;
*(float*)ADR_FastFlag = 5000000;
}
Code:
void nobounds()
{
*(int*)ADR_NoBounds1 = 0;
*(int*)ADR_NoBounds2 = 0;
*(int*)ADR_NoBounds3 = 0;
}
Code:
void boneshot()
{
if(GetAsyncKeyState(VK_F5) &1) //ON
{
MessageBeep(MB_ICONINFORMATION);
*(float*)ADR_BoneShot = 1235;
}
}
void boneshotoff()
{
if(GetAsyncKeyState(VK_F6) &1) //OFF
{
MessageBeep(MB_ICONINFORMATION);
*(float*)ADR_BoneShot = 1237;
}
}
Code:
void glasswall()
{
if(GetAsyncKeyState(VK_MBUTTON) &1) //ON
{
*(int*)ADR_Glasswall = 1;
}
}
void glasswalloff()
{
if(GetAsyncKeyState(VK_CAPITAL) &1)//OFF
{
*(int*)ADR_Glasswall= 0;
}
}
Code:
void speed1()
{
if(GetAsyncKeyState(VK_NUMPAD2) &1)
{
*(float*) Speed = 500;
}
}
void speed()
{
if(GetAsyncKeyState(VK_NUMPAD1) &1)
{
*(float*) Speed = 250;
}
}
void speedoff()
{
if(GetAsyncKeyState(VK_NUMPAD0) &1)
{
*(float*) Speed = 97.0f;
}
}
Code:
void norecoil ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+norecoil1) = 0;
*(float*)(dwPlayerPtr+norecoil2) = 0;
*(float*)(dwPlayerPtr+norecoil3) = 0;
}
}
Code:
DWORD ammo;
DWORD *ingame= (DWORD*)ADR_PlayerPointer;
DWORD *outgame= (DWORD*)ADR_ServerPointer;
Code:
DWORD ammo;
if (GetAsyncKeyState(VK_F8)) //record ammo
{
ammo = *(int*)ADR_Unliammo;
}
if(GetAsyncKeyState(VK_F5) &1) //on
{
*(int*)ADR_Unliammo = 0;
}
if(GetAsyncKeyState(VK_F6) &1) //off
{
*(int*)ADR_Unliammo = ammo ;
}