C++ Using PoseParam for legbreaker

useless?

  • yes

  • nope


Результаты будут видны только после голосования.
Начинающий
Статус
Оффлайн
Регистрация
28 Фев 2021
Сообщения
9
Реакции[?]
5
Поинты[?]
0
use your brain and put it's not hard
C++:
cmd->buttons &= ~(IN_FORWARD | IN_BACK | IN_MOVERIGHT | IN_MOVELEFT);//⚠ it won't work without shit
globals->localplayer->m_flPoseParameter()[0] = 1;//its clientsided
Netvar:
Код:
//m_flPoseParameter
//DT_BaseAnimating -> m_flPoseParameter

std::array<float, 24> &C_BasePlayer::m_flPoseParameter()
{
    static int m_flPoseParameterp = NetVarManager::Get().getoffset("DT_BaseAnimating", "m_flPoseParameter");
    return *(std::array<float, 24>*)((uintptr_t)this + m_flPoseParameterp);
}
PoseParam_t enum:
Код:
//PoseParam_t
enum PoseParam_t {
    STRAFE_YAW,
    STAND,
    LEAN_YAW,
    SPEED,
    LADDER_YAW,
    LADDER_SPEED,
    JUMP_FALL,
    MOVE_YAW,
    MOVE_BLEND_CROUCH,
    MOVE_BLEND_WALK,
    MOVE_BLEND_RUN,
    BODY_YAW,
    BODY_PITCH,
    AIM_BLEND_STAND_IDLE,
    AIM_BLEND_STAND_WALK,
    AIM_BLEND_STAND_RUN,
    AIM_BLEND_COURCH_IDLE,
    AIM_BLEND_CROUCH_WALK,
    DEATH_YAW
};
SS:

-StarShinee :kissingheart:
 
Последнее редактирование:
Сверху Снизу