Amenophis Posted October 6, 2017 Share Posted October 6, 2017 (edited) Hi! I need to block all controls for a IsoPlayer. Not just block movement. It's possible? EDIT : Okay! I read the decompiled source of IsoPlayer.class and i have an answer. It's not possible! In my case, i need that to avoid IsoPlayer who is not a real player he can open the doors when a player presses the Interact Key. But nothing in the source code allows it Edited October 6, 2017 by Amenophis Link to comment Share on other sites More sharing options...
nolanri Posted October 7, 2017 Share Posted October 7, 2017 player:setBlockMovement(true); this will disable basic controls like walking aiming and attacking. note that this condition is not checked when processing vehicle build controls yet Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now