open file ZMyCharacter.cpp
find void ZMyCharacter::OnGadget_Snifer()
Old
NewCode:if (zStatus.m_bSniferMode) { ci->OnGadget(MWT_SNIFER); } else { ci->OnGadgetOff(); }
if u see add 2 lineCode:if (zStatus.m_bSniferMode) { ci->OnGadget(MWT_SNIFER); ZGetGameInterface()->GetCamera()->m_fDist = 0.0f; } else { ci->OnGadgetOff(); ZGetGameInterface()->GetCamera()->m_fDist = 290.0f; }
ZGetGameInterface()->GetCamera()->m_fDist = 0.0f;
[[u can fix zoom many more 0.0f to -10.0f , -20.0f( recomment no more -20.0f) , -100.0f up to u want]]
[[If you put too much value. Camera you can see through walls]]
and
ZGetGameInterface()->GetCamera()->m_fDist = 290.0f;
sure camera fix normal = 290.0f
And
find void ZMyCharacter::OnChangeWeapon
Under
AddCode:m_statusFlags.Ref().m_bSniferMode = false; ZCombatInterface* ci=ZGetCombatInterface(); if (ci) { ci->OnGadgetOff(); }
for reset camera when on zoom mode to other change weaponCode:if (ZGetGameInterface()->GetCamera()->m_fDist != 290.0f) { ZGetGameInterface()->GetCamera()->m_fDist = 290.0f; }
value test in video -1200.0f
comment feedback plz. I know that you can actually do.
If the problem is fixed.







