diff options
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 ) {
|
