//=== Zoom Adder ===
void Zoom(int weaponid){
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
if(pWeaponMgr != NULL){
DWORD Weapon = (*(DWORD*)( pWeaponMgr + (4*weaponid)) );
if(Weapon != NULL){
*(int*)(Weapon + 0xAF0) = 0x2;
*(int*)(Weapon + 0xAF4) = 2;
*(int*)(Weapon + (0x3948)) = 2; // Amount Of Scope Lvl(s)
*(float*)(Weapon + (0x3948+ 4)) = 500.0f;
*(float*)(Weapon + (0x3948+ 8)) = 500.0f;
*(float*)(Weapon + 0x3920+ 0*4) = 1; // Normal x1
*(float*)(Weapon + 0x3920+ 1*4) = 2; // x2
}
}
}
@kmanev073 is the official investor of the scope hack...

//Weapons loop
if(Weapon){
Zoom(i);
}
void Zoom(int weaponid)
{
DWORD CShell = (DWORD)GetModuleHandleA(ModuleCShell);
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
if(pWeaponMgr != NULL)
{
DWORD Weapon = (*(DWORD*)( pWeaponMgr + (4*weaponid) );
if(Weapon != NULL)
{
*(int* )(Weapon + 0xAF0 ) = 0x2;
*(int* )(Weapon + 0xAF4 ) = 2;
*(int* )(Weapon + (0x3948 )) = 4; // Amount Of Scope Lvl(s)
*(float*)(Weapon + (0x3948+ 4 )) = 500.0f;
*(float*)(Weapon + (0x3948+ 8 )) = 500.0f;
*(float*)(Weapon + 0x3920+ 0*4) = 1; // Normal x1
*(float*)(Weapon + 0x3920+ 1*4) = 3; // x2
}
}
}
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Zoom, hinstDLL, NULL, NULL);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Troll, hinstDLL, NULL, NULL);
void Troll()
{
for (int i = 0; i <999; i++) Zoom(i);
}
void Zoom(int weaponid)
{
DWORD CShell = (DWORD)GetModuleHandleA(ModuleCShell);
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
if(pWeaponMgr != NULL)
{
DWORD Weapon = (*(DWORD*)( pWeaponMgr + (4*weaponid) );
if(Weapon != NULL)
{
*(int* )(Weapon + 0xAF0 ) = 0x2;
*(int* )(Weapon + 0xAF4 ) = 2;
*(int* )(Weapon + (0x3948 )) = 4; // Amount Of Scope Lvl(s)
*(float*)(Weapon + (0x3948+ 4 )) = 500.0f;
*(float*)(Weapon + (0x3948+ 8 )) = 500.0f;
*(float*)(Weapon + 0x3920+ 0*4) = 1; // Normal x1
*(float*)(Weapon + 0x3920+ 1*4) = 3; // x2
}
}
}
DWORD CShell = (DWORD)GetModuleHandleA(ModuleCShell);
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr); //0x108713C
for(int i=0; i<1000; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL)
{
DWORD Zoom = *(DWORD*)(pWeaponMgr + (4*i));
for(int y=0; y<9; y++)
{
*(int*)(Zoom + 0xAF0) = 0x2;
*(int*)(Zoom + 0xAF4) = 2;
*(int*)(Zoom + (0x3948)) = 2; // Amount Of Scope Lvl(s)
*(float*)(Zoom + (0x3948+ 4)) = 500.0f;
*(float*)(Zoom + (0x3948+ 8)) = 500.0f;
*(float*)(Zoom + 0x3920+ 0*4) = 1; // Normal x1
*(float*)(Zoom + 0x3920+ 1*4) = 2; // x2