fixed jumpz2height(fixed height, fixed gravity)
Converts JumpZ to jump height, assuming specified gravity.
Gravity is specified as acceleration, not as sv_gravity units.
1.0
. Use GetGravityG to retrieve current gravity.
jumpz = sqrt(2 * height * gravity)
int height = jumpz2height(8.0, 1.0); print(s:"JumpZ of 8 will let you jump ", f:height, s:" mapunits high in normal gravity");