Right now I do it this way:
disable Control 1
disableControl 2
disableControl 3
disableControl 4
But I get nervous with disabling player controls because often they do not get set back properly when things like forced animations (stagger) or sudden switching from game mod to other mods occurs. Or when the script script a few frames for various reasons. So I was wondering what you guys thought of using other methods of stopping the player from moving around freely.
Using paralyze was my first thought but that can easily make the player fall to the ground.
What about using ModPCMovementSpeed or force playing a standing still animation or putting a token with a weight of 100000000 on the player?
I am thinking the last one is the safest way to go?