LUA скрипт Defensive pitch

Забаненный
Статус
Оффлайн
Регистрация
6 Мар 2023
Сообщения
13
Реакции[?]
6
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
defensive pitch neverlose
Код:
--codded by fr1zehack
-- если у вас возникли вопросы std*MonoString()#1956

local TIMETOTICKS = function(time) return math.floor(time / globals.server_tick) end

    local activity = 0
function is_defensive(lp)
        local lp = entity.get_local_player()
        local net_channel, simtime = utils.net_channel(), lp:get_simulation_time()
        local difference = TIMETOTICKS(simtime.current - simtime.old)

        if difference < 0 then
            activity = globals.server_tick + math.abs(difference) - TIMETOTICKS(net_channel.latency[0])
        end
        return activity > globals.server_tick
end

local yaw_adds = 0
function defensive_yaw(cmd)
    if not enavled:get() then return end
    common.reload_script()
    local lp = entity.get_local_player()
    if lp == nil or not lp:is_alive() then
        return
    end
    if yaw_adds >= 180 then
        yaw_adds = 0
    else
        yaw_adds = yaw_adds +10
    end
        if is_defensive(lp) and stateid == 4 then
        Cheat_refs.yaw_offset:override(anti_aim.get_inverter_state() and yaw_adds or yaw_adds * -1)
        Cheat_refs.pitch:override("Disabled")
        else
        Cheat_refs.pitch:override("Down")
    end
end
 
Сверху Снизу