Подпишитесь на наш Telegram-канал, чтобы всегда быть в курсе важных обновлений! Перейти

Вопрос /del

Код:
Expand Collapse Copy
local angles = {
    [1] = -55,
    [2] = 55,
    [3] = 38,
    [4] = -38,
    [5] = -29,
    [6] = 29,
    [7] = -15,
    [8] = 15,
    [9] = 0
}

local last_angle = 0
local new_angle = 0
local switch1 = false
local switch2 = false
local i = 1
local username = globals.get_username()

menu.add_check_box("Enable Resolver lua")

print("Welcome " ..username) -- welcome our user to the resolver. (i like fucking with this function lmao)



-- note from gomi, fix the last angle check bullshit for logs instead of it just saying it missed at 0...


local function resolve(shot_info)
    local result = shot_info.result
    local gpinf = engine.get_player_info
    local target = shot_info.target_index
    local target_name = gpinf(target).name
   
    menu.set_bool("player_list.player_settings[" .. target.. "].force_body_yaw", true) -- we only want to bruteforce our target. not everyone
   
    if last_angle == -new_angle and switch1 then
        new_angle = -angles[i]
        if switch2 == true then
            switch1 = not switch1
        end
    else
        if i < #angles then
            i = i + 1
        else
            i = 1
        end
        new_angle = angles[i]
    end
   
    if result == "Resolver" and menu.get_bool("Enable Resolver lua") then
    print("[DEBUG] missed player: " ..target_name .. ", at angle: " .. last_angle .. ", bruteforced to: " .. new_angle) -- last_angle is broken and always says "0"
   
    menu.set_int("player_list.player_settings["..target.."].body_yaw", new_angle) -- so we dont have to do a for check
    end
end


client.add_callback("on_shot", resolve)

if username == "Gomi" then
    console.execute("sv_lan 1")
else
end
дельту фиксит? :roflanEbalo:
 
Через плеер лист, в боди именно в него стреляет
через плеер лист
получается и кряк фиксит
Ебать ребят, я выкладывал одну джсочку суда, которая баимит чела который на слоуволке идёт, это значит кряк и без всяких плеер листов по вашей логике "фиксит" лоу дельту?
 
Код:
Expand Collapse Copy
local angles = {
    [1] = -55,
    [2] = 55,
    [3] = 38,
    [4] = -38,
    [5] = -29,
    [6] = 29,
    [7] = -15,
    [8] = 15,
    [9] = 0
}

local last_angle = 0
local new_angle = 0
local switch1 = false
local switch2 = false
local i = 1
local username = globals.get_username()

menu.add_check_box("Enable Resolver lua")

print("Welcome " ..username) -- welcome our user to the resolver. (i like fucking with this function lmao)



-- note from gomi, fix the last angle check bullshit for logs instead of it just saying it missed at 0...


local function resolve(shot_info)
    local result = shot_info.result
    local gpinf = engine.get_player_info
    local target = shot_info.target_index
    local target_name = gpinf(target).name
   
    menu.set_bool("player_list.player_settings[" .. target.. "].force_body_yaw", true) -- we only want to bruteforce our target. not everyone
   
    if last_angle == -new_angle and switch1 then
        new_angle = -angles[i]
        if switch2 == true then
            switch1 = not switch1
        end
    else
        if i < #angles then
            i = i + 1
        else
            i = 1
        end
        new_angle = angles[i]
    end
   
    if result == "Resolver" and menu.get_bool("Enable Resolver lua") then
    print("[DEBUG] missed player: " ..target_name .. ", at angle: " .. last_angle .. ", bruteforced to: " .. new_angle) -- last_angle is broken and always says "0"
   
    menu.set_int("player_list.player_settings["..target.."].body_yaw", new_angle) -- so we dont have to do a for check
    end
end


client.add_callback("on_shot", resolve)

if username == "Gomi" then
    console.execute("sv_lan 1")
else
end
stole my friend's lua
 
Код:
Expand Collapse Copy
local angles = {
    [1] = -55,
    [2] = 55,
    [3] = 38,
    [4] = -38,
    [5] = -29,
    [6] = 29,
    [7] = -15,
    [8] = 15,
    [9] = 0
}

local last_angle = 0
local new_angle = 0
local switch1 = false
local switch2 = false
local i = 1
local username = globals.get_username()

menu.add_check_box("Enable Resolver lua")

print("Welcome " ..username) -- welcome our user to the resolver. (i like fucking with this function lmao)



-- note from gomi, fix the last angle check bullshit for logs instead of it just saying it missed at 0...


local function resolve(shot_info)
    local result = shot_info.result
    local gpinf = engine.get_player_info
    local target = shot_info.target_index
    local target_name = gpinf(target).name
  
    menu.set_bool("player_list.player_settings[" .. target.. "].force_body_yaw", true) -- we only want to bruteforce our target. not everyone
  
    if last_angle == -new_angle and switch1 then
        new_angle = -angles[i]
        if switch2 == true then
            switch1 = not switch1
        end
    else
        if i < #angles then
            i = i + 1
        else
            i = 1
        end
        new_angle = angles[i]
    end
  
    if result == "Resolver" and menu.get_bool("Enable Resolver lua") then
    print("[DEBUG] missed player: " ..target_name .. ", at angle: " .. last_angle .. ", bruteforced to: " .. new_angle) -- last_angle is broken and always says "0"
  
    menu.set_int("player_list.player_settings["..target.."].body_yaw", new_angle) -- so we dont have to do a for check
    end
end


client.add_callback("on_shot", resolve)

if username == "Gomi" then
    console.execute("sv_lan 1")
else
end
Чел, может ты будешь уважать чужие труды и напишешь хотя-бы кредит на первоисточник?
Пожалуйста, авторизуйтесь для просмотра ссылки.
[noad]
 
Ебать ребят, я выкладывал одну джсочку суда, которая баимит чела который на слоуволке идёт, это значит кряк и без всяких плеер листов по вашей логике "фиксит" лоу дельту?
Меня спросили, как он "фиксит", я ответил
 
Назад
Сверху Снизу