[img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Player/Freeze]Player:Freeze[/url] and [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Player/Lock]Player:Lock[/url] use the same FL_FROZEN flag which doesn't allow the player to look around... Setting the position in a think hook is an annoying laggy effect, same with overriding the move hook...
What would be the best way to freeze a player in place but still allow them to look around without the laggy effect? I believe I've seen it done elsewhere before.. I just can't recall where.
You could try setting the player's movement type to MOVETYPE_NONE, that should work.
[url]http://wiki.garrysmod.com/page/Entity/SetMoveType[/url]
Perfect, just what I was looking for.
Sorry, you need to Log In to post a reply to this thread.