You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
需要对下蹲系数输出的值进行一个取整。按照群友的方法把658行的--[[ get real y position ]]这段替换成下面这段就没问题了
-- 下蹲取整
function Round(num, i)
local mult = 10^(i or 0)
local mult10 = mult * 10
return math.floor((num * mult10 + 5)/10)/ mult
end
--[[ get real y position ]]
function pubg.getRealY (options, y)
local realY = y
if pubg.isAimingState("ADS") then
realY = y * pubg[pubg.scope_current]
elseif pubg.isAimingState("Aim") then
realY = y * userInfo.sensitivity.Aim * pubg.generalSensitivityRatio
end
if userInfo.aimingSettings == "ctrlmode" and IsModifierPressed("lctrl") then
realY = realY * options.ctrlmodeRatio
end
realY= Round(realY,0)
return realY
end
The text was updated successfully, but these errors were encountered:
需要对下蹲系数输出的值进行一个取整。按照群友的方法把658行的--[[ get real y position ]]这段替换成下面这段就没问题了
-- 下蹲取整
function Round(num, i)
local mult = 10^(i or 0)
local mult10 = mult * 10
return math.floor((num * mult10 + 5)/10)/ mult
end
--[[ get real y position ]]
function pubg.getRealY (options, y)
local realY = y
end
The text was updated successfully, but these errors were encountered: