float CCamera::CameraSmoothingProgress(float CurrentTime) const
{
float e = (CurrentTime - m_CameraSmoothingStart) / (m_CameraSmoothingEnd - m_CameraSmoothingStart);
e = 1.0 - std::pow(2.0, -8.5 * e);
return e;
}
bind x "echo Enabled!"
whenever you set the variable to 1