Ищу скрипт [NL] How to make Static legs :sob:

Начинающий
Статус
Оффлайн
Регистрация
30 Авг 2022
Сообщения
14
Реакции[?]
0
Поинты[?]
0
Why dosen't this work, I am not receiving any errors (do not get mad at me pls!! )

Код:
-- I do not know how to make Static legs, do not get mad at me :sob:
ffi.cdef[[
    typedef void*(__thiscall* get_client_entity_t)(void*, int);
]]

local uintptr_t = ffi.typeof("uintptr_t**")
local this_call = function(call_function, parameters)
    return function(...)
        return call_function(parameters, ...)
    end
end

local main = ui.create("LUA", "A")
local staticlegs = main:slider("Static Legs", 0, 1)

local entity_list_003 = ffi.cast(uintptr_t, utils.create_interface("client.dll", "VClientEntityList003"))
local get_client_entity_fn = this_call(ffi.cast("get_client_entity_t", entity_list_003[0][3]), entity_list_003)

local shared_onground
local lsh = bit.lshift


events.render:set( function()
    local localplayer = entity.get_local_player()
    if not localplayer then return end

    local bOnGround = lsh(1,0)
    if not bOnGround then
        return
    end

    shared_onground = bOnGround

    if staticlegs:get() then
        local localplayer = entity.get_local_player()
        if not localplayer then return end

        if bOnGround and not shared_onground then
            localplayer.m_flPoseParameter[6] = 1
        end
    end
end)
 
Модератор раздела "Создание скриптов для читов"
Модератор
Статус
Оффлайн
Регистрация
1 Фев 2020
Сообщения
1,240
Реакции[?]
405
Поинты[?]
45K
sorry, I have code for skeet, but I think this isn't problem

code_language.lua:
client.set_event_callback("pre_render", function()

   if contains(ui.get(lua.breaker_combo), 'static legs in air') then
        entity.set_prop(entity.get_local_player(), "m_flPoseParameter", 1, 6)
    end
end)
 
Начинающий
Статус
Оффлайн
Регистрация
24 Май 2022
Сообщения
38
Реакции[?]
3
Поинты[?]
0
Why dosen't this work, I am not receiving any errors (do not get mad at me pls!! )

Код:
-- I do not know how to make Static legs, do not get mad at me :sob:
ffi.cdef[[
    typedef void*(__thiscall* get_client_entity_t)(void*, int);
]]

local uintptr_t = ffi.typeof("uintptr_t**")
local this_call = function(call_function, parameters)
    return function(...)
        return call_function(parameters, ...)
    end
end

local main = ui.create("LUA", "A")
local staticlegs = main:slider("Static Legs", 0, 1)

local entity_list_003 = ffi.cast(uintptr_t, utils.create_interface("client.dll", "VClientEntityList003"))
local get_client_entity_fn = this_call(ffi.cast("get_client_entity_t", entity_list_003[0][3]), entity_list_003)

local shared_onground
local lsh = bit.lshift


events.render:set( function()
    local localplayer = entity.get_local_player()
    if not localplayer then return end

    local bOnGround = lsh(1,0)
    if not bOnGround then
        return
    end

    shared_onground = bOnGround

    if staticlegs:get() then
        local localplayer = entity.get_local_player()
        if not localplayer then return end

        if bOnGround and not shared_onground then
            localplayer.m_flPoseParameter[6] = 1
        end
    end
end)
ffi only , m_flposeparameter in neverlose don`t change local player animation, cause its forced by cheat, u can change it only by ffi
 
t.me/maj0rblog
Дизайнер
Статус
Оффлайн
Регистрация
6 Окт 2018
Сообщения
975
Реакции[?]
619
Поинты[?]
12K
Why dosen't this work, I am not receiving any errors (do not get mad at me pls!! )

Код:
-- I do not know how to make Static legs, do not get mad at me :sob:
ffi.cdef[[
    typedef void*(__thiscall* get_client_entity_t)(void*, int);
]]

local uintptr_t = ffi.typeof("uintptr_t**")
local this_call = function(call_function, parameters)
    return function(...)
        return call_function(parameters, ...)
    end
end

local main = ui.create("LUA", "A")
local staticlegs = main:slider("Static Legs", 0, 1)

local entity_list_003 = ffi.cast(uintptr_t, utils.create_interface("client.dll", "VClientEntityList003"))
local get_client_entity_fn = this_call(ffi.cast("get_client_entity_t", entity_list_003[0][3]), entity_list_003)

local shared_onground
local lsh = bit.lshift


events.render:set( function()
    local localplayer = entity.get_local_player()
    if not localplayer then return end

    local bOnGround = lsh(1,0)
    if not bOnGround then
        return
    end

    shared_onground = bOnGround

    if staticlegs:get() then
        local localplayer = entity.get_local_player()
        if not localplayer then return end

        if bOnGround and not shared_onground then
            localplayer.m_flPoseParameter[6] = 1
        end
    end
end)
you need hook
 
Сверху Снизу