public static void RunRemoveScopePanorama()
{
if (CheatStatus.RemoveScopeActive)
if (CLocalPlayer.ScopeLevel != ScopeLevels.NOTSCOPED)
CLocalPlayer.Scoped = false;
}
public static bool Scoped
{
get
{
return CylMem.ReadBool(LocalPlayerBase + m_bIsScoped);
}
set
{
for (int i = 0; i < 1000; i++)
CylMem.WriteBoolean(LocalPlayerBase + m_bIsScoped, value);
}
}
public static ScopeLevels ScopeLevel
{
get
{
if (BaseAdress != 0)
{
int ActiveWeapon = CylMem.ReadInt(LocalPlayerBase + m_hActiveWeapon) & 0xFFF;
ActiveWeapon = CylMem.ReadInt(Modules.ClientDLLAdress + dwEntityList + (ActiveWeapon - 1) * 0x10);
if (CylMem.ReadInt(ActiveWeapon + m_zoomLevel) != 256)
return (ScopeLevels)CylMem.ReadInt(ActiveWeapon + m_zoomLevel);
else
return ScopeLevels.NOTSCOPED;
}
else
{
ConfigureLocalPlayer();
int ActiveWeapon = CylMem.ReadInt(LocalPlayerBase + m_hActiveWeapon) & 0xFFF;
ActiveWeapon = CylMem.ReadInt(Modules.ClientDLLAdress + dwEntityList + (ActiveWeapon - 1) * 0x10);
if (CylMem.ReadInt(ActiveWeapon + m_zoomLevel) != 256)
return (ScopeLevels)CylMem.ReadInt(ActiveWeapon + m_zoomLevel);
else
return ScopeLevels.NOTSCOPED;
}
}
set
{
if (BaseAdress != 0)
{
int ActiveWeapon = CylMem.ReadInt(LocalPlayerBase + m_hActiveWeapon) & 0xFFF;
ActiveWeapon = CylMem.ReadInt(Modules.ClientDLLAdress + dwEntityList + (ActiveWeapon - 1) * 0x10);
CylMem.WriteInt(ActiveWeapon + m_zoomLevel, (int)value);
}
else
{
ConfigureLocalPlayer();
int ActiveWeapon = CylMem.ReadInt(LocalPlayerBase + m_hActiveWeapon) & 0xFFF;
ActiveWeapon = CylMem.ReadInt(Modules.ClientDLLAdress + dwEntityList + (ActiveWeapon - 1) * 0x10);
CylMem.WriteInt(ActiveWeapon + m_zoomLevel, (int)value);
}
}
}
public enum ScopeLevels
{
NOTSCOPED,
LEVEL1,
LEVEL2
}
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?