Hello guys i have a problem whit my sniper zoom, i want it too zoom less, but i don't know how to make it there is my code:
Btw i'm using a image as scope for the sniper.unsigned long g_dwLastSniperUpdate = 0;
void ZMyCharacter::OnGadget_Snifer()
{
unsigned long dwTime = timeGetTime();
if (g_dwLastSniperUpdate == 0 || g_dwLastSniperUpdate <= (dwTime - 200))
{
ZMyCharaterStatusBitPacking & zStatus = m_statusFlags.Ref();
zStatus.m_bSniferMode = !zStatus.m_bSniferMode;
ZCombatInterface* ci=ZGetCombatInterface();
if (ci)
{
if (zStatus.m_bSniferMode)
{
ci->OnGadget(MWT_SNIFER);
}
else
{
ci->OnGadgetOff();
}
}
g_dwLastSniperUpdate = dwTime;
}
}
Hope you guys can help me![]()


Reply With Quote

