|
CrossHair :
if (CH_crosshair==1)
{
int x = ( GetSystemMetrics( 0 ) / 2);
int y = ( GetSystemMetrics( 1 ) / 2);
D3DRECT rec = { x - 10, y, x + 10, y + 1};
D3DRECT rec2 = { x, y - 10, x + 1, y + 10};
pDevice->Clear(1, &rec, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255, 255, 0, 0), 0, 0); //Red
pDevice->Clear(1, &rec2, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255, 255, 0, 0), 0, 0); //Red
}
NoRecoil:
if (CH1_NoRecoil ==1)
{
*(float*)(xPlayer+OFS_NORECOIL1) = 0;
*(float*)(xPlayer+OFS_NORECOIL2) = 0;
*(float*)(xPlayer+OFS_NORECOIL3) = 0;
}
SuperNoSpread:
if (CH1_SuperNoSpread == 1 )
{
WriteMem<double>((void*)ADR_SUPERNOSPREAD, 0);
}
Esp Name :
if ( CH_NameEsp )
{
char chTeam[100];
sprintf(chTeam,"Name :%s",GetGlobalInfo(MaxPlayer)->name);
if(GetGlobalInfo(GetLocalInfo())->team != GetGlobalInfo(MaxPlayer)->team)
x_pFont->DrawText(EspView.x,(EspView.y-100),RED,chTeam);
else
x_pFont->DrawText(EspView.x,(EspView.y-100),GREEN,chTeam);
EspView.y += 12;
}
|