Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(animstate)
- {
- Сheat::player->client_side_animation() = true;
- auto curtime = Cheat::i.global->curtime;
- auto frametime = Cheat::i.global->frametime;
- auto frametimne = Cheat::i.global->frametime;
- auto absoluteframtime = Cheat::i.global->absoluteframetime;
- auto interp_amount = Cheat::i.global->interpolation_amount;
- auto framecount = Cheat::i.global->framecount;
- auto tickcount = Cheat::i.global->tickcount;
- auto simtime = Сheat::player->get_simulation_time();
- Cheat::i.global->realtime = simtime;
- Cheat::i.global->curtime = simtime;
- Cheat::i.global->frametime = Cheat::i.global->interval_per_tick;
- Cheat::i.global->absoluteframetime = Cheat::i.global->interval_per_tick;
- Cheat::i.global->framecount = TIME_TO_TICKS(simtime);
- Cheat::i.global->tickcount = TIME_TO_TICKS(simtime);
- Cheat::i.global->interpolation_amount = 0.0f;
- Cheat::i.global->curtime = Сheat::player->get_simulation_time();
- if ( animstate->m_iLastClientSideAnimationUpdateFramecount >= TIME_TO_TICKS(simtime))
- animstate->m_iLastClientSideAnimationUpdateFramecount = TIME_TO_TICKS(simtime) - 1;
- player->update_client_side_animation();
- player->client_side_animation() = false;
- Cheat::i.global->curtime = old_curtime;
- Cheat::i.global->frametime = old_frametime;
- Cheat::i.global->realtime = realtime;
- Cheat::i.global->curtime = curtime;
- Cheat::i.global->frametime = frametimne;
- Cheat::i.global->absoluteframetime = absoluteframtime;
- Cheat::i.global->interpolation_amount = interp_amount;
- Cheat::i.global->framecount = framecount;
- Cheat::i.global->tickcount = tickcount;
- //Cheat::player->InvalidateBoneCache();
- //Cheat::player->setup_bones(nullptr, -1, 0x7FF00, G::interfaces.globaldata->curtime);// ch1rk00f + soufiv podarok
- Matrix3x4 bones[128];
- Cheat::player->setup_bones(bones, 128, BONE_USED_BY_ANYTHING, Cheat::player->get_simulation_time());// opulence
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement