//---------------------------------//
// ///////////////////////// //
//---------------------------------//
void ServerHacks(void)
{
DWORD dwServerPointer = *(DWORD*)ADR_SERVERPTR;
if(dwServerPointer != 0) {
if(Slots){
*(int*)(dwServerPointer + OFS_5SLOT) = 1;
*(int*)(dwServerPointer + OFS_6SLOT) = 1;
*(int*)(dwServerPointer + OFS_7SLOT) = 1;
*(int*)(dwServerPointer + OFS_8SLOT) = 1;
}
if(Premium){
*(int*)(dwServerPointer+OFS_PREMIUM) = 3;//gold
}
}
}
//---------------------------------//
// ///////////////////////// //
//---------------------------------//
void PlayerHacks(void)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPTR;
if(dwPlayerPtr != 0){
if(Stamina){//stealh stamina , refull when its below 35
if (*(float*)(dwPlayerPtr+OFS_STAMINA)<35.0F)
{*(float*)(dwPlayerPtr+OFS_STAMINA) = 50.0F;}
}
if(GetAsyncKeyState(VK_CONTROL) &1){//jump when u press control
if(SuperJump){
*(float*)(dwPlayerPtr+OFS_Y) = 2000.0F;
}
}
if (NoFall)
{*(float*)(dwPlayerPtr+OFS_NOFALL) = -35000.0F;}
}
}
//---------------------------------//
// ///////////////////////// //
//---------------------------------//
void StaticHacks(void)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPTR;
if(dwPlayerPtr != 0){
if(Speed){
*(float*)(ADR_SPEED) = 240.6F;
}
if(FastHAFR){
*(float*)(ADR_FASTAMMO) = 0;
*(float*)(ADR_FASTHEALTH) = 0;
*(float*)(ADR_FASTREPAIR) = 0;
*(float*)(ADR_FASTFLAG) = 0;
}
if(NoSpread){
*(float*)(ADR_NOSPREAD) = 0;
}
if(NoWater){
*(int*)(ADR_NOWATER) = 0;
}
}
}
//---------------------------------//
// ///////////////////////// //
//---------------------------------//