View Single Post
XGAK
Junior Member
Join Date: May 2018
Old 05-17-2020 , 22:53   Re: How to freeze player animation?
Reply With Quote #2

I find this in Nopied's work.
Code:
SetEntProp(client, Prop_Send, "m_bIsPlayerSimulated", 0);
SetEntProp(client, Prop_Send, "m_bSimulatedEveryTick", 0);
SetEntProp(client, Prop_Send, "m_bAnimatedEveryTick", 0);
SetEntProp(client, Prop_Send, "m_bClientSideAnimation", 0);
SetEntProp(client, Prop_Send, "m_bClientSideFrameReset", 1);
Need to deal with pose parameters.NOPE
Just set sv_client_predict to 0 and it will work perfectly.
There should be a delay between setting sv_client_predict and player SetEntProp, or the animation of player would keep standing instead of freezing the walk animation.

Last edited by XGAK; 05-18-2020 at 00:26. Reason: solved
XGAK is offline