Hier noch ganz viele:
HeadShot:
PHP Code:
switch(CH_Boneshot) {
case 1:
if (BONE)
{
WriteAsm((void *)rADR_HEADSHOOT,BONEON,1);
BONE=false;
}else{
if (!BONE){
WriteAsm((void *)rADR_HEADSHOOT,BONEOFF,2);
BONE=true;
}
}
break;
case 2:
if (NECK){
WriteAsm((void *)rADR_neckSHOT,BONEON,1);
BONE=false;
}else{
if (!NECK){
WriteAsm((void *)rADR_neckSHOT,BONEOFF,2);
BONE=true;
}}
break;
}
}}
Crosshair:
PHP Code:
void CrossHair(LPDIRECT3DDEVICE8 pDevice){
switch(CH_cross)
{
case 1: DrawCrosshair(pDevice, WHITE); break;
case 2: DrawCrosshair(pDevice, RED); break;
case 3: DrawCrosshair(pDevice, GREEN); break;
case 4: DrawCrosshair(pDevice, BLUE); break;
case 5: DrawCrosshair(pDevice, BLACK); break;
case 6: DrawCrosshair(pDevice, PURPLE); break;
case 7: DrawCrosshair(pDevice, GREY); break;
case 8: DrawCrosshair(pDevice, YELLOW); break;
case 9: DrawCrosshair(pDevice, ORANGE); break;
}
}
Chams:
PHP Code:
if(CH_Chams){
if(m_Stride == 44){
pDevice->SetRenderState(D3DRS_CLIPPING,FALSE);
pDevice->GetRenderState(D3DRS_ZENABLE, &dwOldZEnable);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
if(CH_ColorC1==0) pDevice->SetTexture(0, White);
if(CH_ColorC1==1) pDevice->SetTexture(0, Red);
if(CH_ColorC1==2) pDevice->SetTexture(0, Green);
if(CH_ColorC1==3) pDevice->SetTexture(0, Blue);
if(CH_ColorC1==4) pDevice->SetTexture(0, Black);
if(CH_ColorC1==5) pDevice->SetTexture(0, Purple);
if(CH_ColorC1==6) pDevice->SetTexture(0, Grey);
if(CH_ColorC1==7) pDevice->SetTexture(0, Yellow);
if(CH_ColorC1==8) pDevice->SetTexture(0, Orange);
pDrawIndexedPrimitive(pDevice, pType, nMinIndex, nNumVertices, nStartIndex, nPrimitiveCount);
pDevice->SetRenderState(D3DRS_CLIPPING,FALSE);
pDevice->GetRenderState(D3DRS_ZENABLE, &dwOldZEnable);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
if(CH_ColorC2==0) pDevice->SetTexture(0, White);
if(CH_ColorC2==1) pDevice->SetTexture(0, Red);
if(CH_ColorC2==2) pDevice->SetTexture(0, Green);
if(CH_ColorC2==3) pDevice->SetTexture(0, Blue);
if(CH_ColorC2==4) pDevice->SetTexture(0, Black);
if(CH_ColorC2==5) pDevice->SetTexture(0, Purple);
if(CH_ColorC2==6) pDevice->SetTexture(0, Grey);
if(CH_ColorC2==7) pDevice->SetTexture(0, Yellow);
if(CH_ColorC2==8) pDevice->SetTexture(0, Orange);
}
}
WallHack:
PHP Code:
if((CH_wall) && (m_Stride == 44)){
pDevice->SetRenderState(D3DRS_ZENABLE,D3DZB_FALSE);
}
Unl.Ammo:
PHP Code:
if (CH_UAmmo==1){
if (UAMMO){
WriteAsm((void *)rADR_UNLAMMO1,NOPS,3);
WriteAsm((void *)rADR_UNLAMMO2,NOPS,3);
WriteAsm((void *)rADR_UNLAMMO3,NOPS,3);
UAMMO=false;
}
}else{
if (!UAMMO){
WriteAsm((void *)rADR_UNLAMMO1,UAMMO1OFF,3);
WriteAsm((void *)rADR_UNLAMMO2,UAMMO2OFF,3);
WriteAsm((void *)rADR_UNLAMMO3,UAMMO3OFF,3);
UAMMO=true;
}}
AutoMedic:
PHP Code:
switch(CH_AutoM) {
case 0:
if (!AutoM){
WriteAsm((void *)rADR_AUTOMEDIC ,AMEDICOFF,6);
AutoM=true;
}
break;
case 1:
if (AutoM){
WriteAsm((void *)rADR_AUTOMEDIC ,NOPS,6);
AutoM=false;
}
break;
case 2:
// ==
if (GetAsyncKeyState(VK_CONTROL) && GetAsyncKeyState('V')&0x8000) {
if (AutoM){
WriteAsm((void *)rADR_AUTOMEDIC ,NOPS,6);
AutoM=false;
}
}
else {
if (!AutoM){
WriteAsm((void *)rADR_AUTOMEDIC ,AMEDICOFF,6);
AutoM=true;
}}
break;
}
NoDelay:
PHP Code:
if (CH_NoDelay==1){
if (NODELAY){
WriteAsm((void *)rADR_NODELAY,NOPS,2);
NODELAY=false;
}
} else {
if (!NODELAY){
WriteAsm((void *)rADR_NODELAY,ZEROOFF,2);
NODELAY=true;
}}
WTW:
PHP Code:
if (CH_WTW==1){
DWORD rdwPlayerPointer = *(DWORD*)rPlayerpointer;
if(rdwPlayerPointer != 0){
if (WTW){
WriteAsm((void *)rADR_WTW,NOPS,3);
WTW=false;
}}else {
if (!WTW){
WriteAsm((void *)rADR_WTW,WTWOFF,3);
WTW=true;
}
}} else {
if (!WTW){
WriteAsm((void *)rADR_WTW,WTWOFF,3);
WTW=true;
}}
STW:
PHP Code:
if (CH_STW==1){
DWORD rdwPlayerPointer = *(DWORD*)rPlayerpointer;
if(rdwPlayerPointer != 0){
if (STW){
WriteAsm((void *)rADR_STW,NOPS,3);
STW=false;
}}else {
if (!STW){
WriteAsm((void *)rADR_STW,STWOFF,3);
STW=true;
}
}} else {
if (!STW){
WriteAsm((void *)rADR_STW,STWOFF,3);
STW=true;
}}
CQCProne:
PHP Code:
if (CH_Prone==1){
if (PRONE){
WriteAsm((void *)rADR_PRONECQC,NOPS,2);
PRONE=false;}
} else {
if (!PRONE){
WriteAsm((void *)rADR_PRONECQC,PRONEOFF,2);
PRONE=true;}
}
OPK:
PHP Code:
if (CH_OPK==1){
if (OPK){
WriteAsm((void*)rADR_OPK1, ONOPK, 2);
WriteAsm((void*)rADR_OPK2, ONOPK, 2);
WriteAsm((void*)rADR_OPK3, ONOPK, 2);
OPK=false;}}
else {
if (!OPK){
WriteAsm((void*)rADR_OPK1, OFFOPK, 6);
WriteAsm((void*)rADR_OPK2, OFFOPK2, 6);
WriteAsm((void*)rADR_OPK3, OFFOPK3, 6);
OPK=true;
}
}