diff options
| author | boris <wzn@moneybot.cc> | 2018-12-07 14:18:45 +1300 |
|---|---|---|
| committer | boris <wzn@moneybot.cc> | 2018-12-07 14:18:45 +1300 |
| commit | 430f93006fb8ac7c37c8cfc984d3d02b9f7dc693 (patch) | |
| tree | faabb436330b1d55e48449874e8fb03ac60f3b7c /cheat/internal_rewrite/c_base_player.cpp | |
| parent | bb8b13b512d1b9bbe8f78cb8d64eba5479fbd540 (diff) | |
broke the cheat even more :DDDDDDDDD
Diffstat (limited to 'cheat/internal_rewrite/c_base_player.cpp')
| -rw-r--r-- | cheat/internal_rewrite/c_base_player.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cheat/internal_rewrite/c_base_player.cpp b/cheat/internal_rewrite/c_base_player.cpp index 3ace4ab..981f63b 100644 --- a/cheat/internal_rewrite/c_base_player.cpp +++ b/cheat/internal_rewrite/c_base_player.cpp @@ -211,6 +211,17 @@ void c_base_player::invalidate_physics_recursive( int flags ) { fn( this, flags );
}
}
+ +void c_base_player::update_clientside_animation() { + bool backup = m_bClientSideAnimation(); + m_bClientSideAnimation() = true; + + using fn = void(__fastcall*)(void*); + pattern::first_code_match<fn>(g_csgo.m_chl.dll(), xors("55 8B EC 51 56 8B F1 80 BE ? ? ? ? ? 74 36"))(this); + + m_bClientSideAnimation() = backup; +} +
uintptr_t c_base_player::get_player_resource( ) {
for( int i{ 1 }; i < g_csgo.m_entlist( )->GetHighestEntityIndex( ); ++i ) {
|
